Follow Problem
FixandLearn
Member Posts: 2
Hi, I have a trouble with my game. I have two actors (A and B) , actor A moves in direction where I touch and never stop, I want the actor B follow actor A all the time around the scene. I've been trying in many ways to do that, but actor B doesn't moves or moves in strange ways to the one I want(doesn't follow actor A). Please Help
Comments
Do you want actor B to always be exactly where actor A is or to follow at a slight distance?
How have you tried to do either of these?
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
I want actor B go where actor A is, with his own speed, with the possibility that actor B reach actor A. I've tried to move actor B to position where I touch but it didn't look good because he didn't follow actor A, then I've tried to move it to position X and Y of actor A, when I did that, actor B didn't move.
Try this demo: http://forums.gamesalad.com/discussion/comment/456267/#Comment_456267. If you adjust it so it follows after a slight delay rather than after mouse is up, you should have what you want.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User