A* Pathfinding Project
3.1.4
The A* Pathfinding Project for Unity 3D
|
Attach to any GameObject and the object will be clamped to the navmesh. More...
Private Member Functions | |
void | LateUpdate () |
Private Attributes | |
Node | prevNode |
Vector3 | prevPos |
Attach to any GameObject and the object will be clamped to the navmesh.
If a GameObject has this component attached, one or more graph linecasts will be carried out every frame to ensure that the object does not leave the navmesh area.
It can be used with GridGraphs, but Navmesh based ones are prefered.