Hi, this is my first post
I need to simulate a group of cows being herded by the player. When the player moves close to the cows, all the cow objects move away from the player. Not spreading in every direction, but the cows should follow a leader. The leader is the cows temporarily furthest away from the player. Therefore the leader changes all the time. I know how to identify the leader, but how do I make an object move towards another object of the same type (i.e. the leader) ?
Any suggestion will be much appreciated. Thanks in advance.
AJ