Behaviour 'move to' and behavior 'constrain attribute' are bugged?

jsorr2jsorr2 Member Posts: 279
edited November 2014 in Working with GS (PC)

when my actor uses move to x=0, y=32 and is infront of a collision or boundry i set it wont move anymore. I assume its because tries to walk forward 32 when it cant. How can i make the actor stop, but not make it stuck?

i tried pushing the actor back 32 if it touches the wall but that's not want i'm looking for

Answers

  • jsorr2jsorr2 Member Posts: 279

    wow that took ages. just add a rule if you're moving upwards, when self.position.y =< 704 (equals or less than boundary number) then 'move to'. That way when you reach the boundary it wont try to move again and get stuck.

This discussion has been closed.