how to stop actor moving when collide with another actor?
cptongsg
Member Posts: 70
Hi, I have set a actor to chase a actor. but when the chasing actor collide with the target actor, the chasing actor keep on pushing the target actor to it direction. How to I mend this issue? How do I set it stop to the distance i prefer? Thks in advance.
Comments
Can anyone find that old thread for this one? I've looked...no luck yet.
The logic sequence would be...
When the actors collide...chasing actor should stop chasing and target a new point a set distance away from the previous target.
This would require several rules and switches to execute and about 1-3 hours for me to set it up for you (which most of us don't have time to do...have our own games to work on). It is fairly simple sequence...but would require some time and careful execution.
if its too challenging for you right now...keep reading and learning the basics...you'll get it soon. Also...there may be lots of example on the web for you to explore...just need to dig around the GS web or the forum boards for a while.
Keep working on it though...GS is easy to learn...just takes a week or 2 to get all the details figured out. From there...its just takes lots of practice to get good at it.
My tip is:
THINK LOGICALLY AND SEQUENTIALLY.
see these posts:
http://gamesalad.com/forums/topic.php?id=4117
http://gamesalad.com/forums/topic.php?id=4114
When the user craft collides into still actors I want them to follow the craft.
To do this, I used two identical actors one still and spawns the second when it is hit by the craft.
So you could have one actor chasing and once it collides it spawns another that behaves differently.
That should stop your actor