Distance between actors to trigger a stop between an actor
justinodunn
Member, PRO Posts: 226
in Tech Support
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
or maybe stop the spawner for 1 second?