boolean - player movement

multiplayermultiplayer Member Posts: 30
edited November -1 in Working with GS (Mac)
In my scene i have got 2 actors: First is "player" second is simple box. What i want to do
is to turn off player movement when he colide with box.
I add Rule to player:
Actor recieves event / overlaps or colide / with actor of type / Box

Change atribute / self.Physics.Movable to 0

nothing happens... what im doing wrong? or maybe is other solution to togle player movement off.

thx,

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Movable can not be changed during game play.

    What do you use to move the actor in the first place? Change Velocity? Accelerate? Move?
  • multiplayermultiplayer Member Posts: 30
    Accelerate
Sign In or Register to comment.