Function IAgent.SetObstacleQuery
void SetObstacleQuery (
sourceNode | The node to start the obstacle search at. This is typically the node the agent is standing on. |
Add obstacles to avoid for this agent.
The obstacles are based on nearby borders of the navmesh. You should call this method every frame.