Better NavMesh controller
This is a remake of NavMesh demo, more structure towards many characters to using navmesh.
- "Navigation" node script functionality is to get path points only.
- Objects moving contains the path movement function in their script.
Download, import the new "nav controllers" project.
(Select "NavigationMeshInstance" node and press "bake" if navmesh is not available)
Move with "ZSQD" keys and press "Space" to test Character controller moving to player position.
There are many things to improve :
- character RigidBody and collider
- acceleration, deceleration
- stopping distance