|
|
|
|
|
by socialist_coder
1760 days ago
|
|
> The Fox isn't trying to get 100 meters away - it's trying to get 100 triangles away. Maybe this is obvious but I'm not seeing it... Why would an NPC measure distance in triangles instead of meters? Why is it trying to get 100 triangles away? |
|
So you give the NPC a speed, and it moves as far along the edges between vertexes in each time interval.
The navmesh also helps keep the AI traveling in places that have been marked as safe for travel, without collision or drops.