actor no longer moving to target after collide

yatofeyatofe Member Posts: 2
edited October 2012 in Working with GS (Mac)
Hi, I have a GS project with in the center of the screen an actor, this actor is the target point for random spawned actors. Spawing and moving towards target point works perfect, except when I put in some walls (other actor). When the spawned actors collide with the walls, they stop moving towards the target point, they move randomly or not at all.

Answers

  • carlblanchetcarlblanchet Member Posts: 755
    If I'm properly understanding the situation here; this is because the spawned actor is told to move to the target which will do it in a straight line, it does not have a brain to tell it to go left or right around another actor that is collidable and in the way. That is why it stops.
  • yatofeyatofe Member Posts: 2
    That explains it, so I can tell my actor when it collide with the wall to go Left or right, and at the end of the wall, I tell it to move to targetpoint and problem is solved :-) thanks alot sometimes a simpel push in the back is all one needs !!!!
Sign In or Register to comment.