Hello all.
I am currently working on a game prototype that is akin to Shark Evolution or Chicken Evolution. In those games, the objects have random idle movements that they do at occasional intervals independent of all other objects on the layout.
I have managed to emulate to a certain degree the random movements with the below event chain:
However, while the objects do move in random directions at random speeds, they move together. When the fifteen second mark hits they both will shoot off in a random direction, instead of doing so separately. Any ideas on how to make it so that the object chosen to move is random out of those that are available on the layout?
Thanks in advance.
Edit: I've come to discover that the mobs only shoot off in a random direction when they hit/land in certain invisible barriers. Basically what I'm now needing to know is how to make it so that when the objects enter a specific invisible area they are repelled back toward the main area. I have collisions set to off due to the fact that the objects need to be able to wander around and travel on top one another, otherwise they fuse automatically by themselves and I'm trying to avoid that.