STOP

JamwithnoJamwithno Member Posts: 312
edited November -1 in Working with GS (Mac)
I know that there is a way to but how do you have an actor stop when it has hit a wall

Comments

  • DreamLabDreamLab Member Posts: 2,127
    make a rule (a boolean) called touchwall or something

    when actor touches wall

    change touch.wall to true

    when touch.wall= true, change self.motionlinearvelocity x and y to 0

    when touch.wall=false
    continue to move or whatever you want it to do.

    thats just my go at it.
  • JamwithnoJamwithno Member Posts: 312
    thanks so much i am good at gamesalad but the not the best
Sign In or Register to comment.