|
I'm trying to make a game object flee away. How can i create a fleeing AI?
(comments are locked)
|
|
The simplest method would be to compute the 'flee direction' as follows:
And then use the computed direction vector to move the object using whatever method is appropriate (e.g. apply a force for a rigid body, incorporate into the movement vector for a character controller, etc.).
(comments are locked)
|
