Distance between actors to trigger a stop between an actor

justinodunnjustinodunn Member, PRO Posts: 226

I watched this tutorial on distance between two actors: https://youtube.com/watch?v=_p2s61XVZ0o

So I applied that to my game. How my game works is that there are enemy spawners at different heights but same x positions outside of the viewing screen, the actors spawned move to the right across the screen. However, some actors move at the same time together and I don't want that to happen. What can I do to prevent that? If distancefrom < 50 then stop the actor for lets say 1 second? If you have better ideas, please share!

Thanks fellas, have a nice day :)

Comments

Sign In or Register to comment.