A* Pathfinding Project  3.6.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
NavmeshController Class Reference

CharacterController helper for use on navmeshes. More...

Detailed Description

CharacterController helper for use on navmeshes.

This character controller helper will clamp the desired movement to the navmesh before moving.
This results in that this character will not move out from the navmesh by it's own force by more than very small distances.
It can be used as a regular CharacterController, but the only move command you can use currently is SimpleMove.

Note
A CharacterController component needs to be attached to the same GameObject for this script to work
It does only work on Navmesh based graphs (NavMeshGraph, RecastGraph)
It does not work very well with links in the graphs

The documentation for this class was generated from the following file: