- Home /
without using NavMesh, How to avoid autonomous moving agents/obstacles
when it comes to avoiding non moving obstacles, distance is the only factor to consider when it comes to determining the "most threatening obstacle" and the new direction of velocity . but when it comes to moving agents however, there are more factors such as velocity to consider , for example the fact that an object is closest to my agent or within a defined radius doesn't necessarily mean that it's the most threatening or even a threat at all; it could be moving away so by the time I reach the "future collision point" it would be gone or it could be moving a slower speed than objects further away.
what's a simple way of implementing such steering behavior?
IF you are using Nav$$anonymous$$eshAgents then they have local avoidance built into them.
I should have specified that I'm not using Nav$$anonymous$$esh
Answer by HarshadK · Jul 06, 2016 at 07:13 AM
You can start with the things specified in this answer: http://gamedev.stackexchange.com/a/99113
There is lot of literature available on local avoidance which you can Google.
Your answer
Follow this Question
Related Questions
NavMesh Agent Obstacle Avoidance Ignore 1 Answer
How can I make the I see the player better? 1 Answer
Enemy Follow Player 1 Answer