-
Notifications
You must be signed in to change notification settings - Fork 3
NavMeshAgent
Wyatt Gillette edited this page Nov 2, 2021
·
12 revisions
Navigation mesh agent.
This component is attached to a mobile character in the game to allow it to navigate the Scene using the NavMesh.
setDestination | Sets or updates the destination thus triggering the calculation for a new path. |
samplePosition | Finds the closest point on NavMesh within specified range. |
calculatePath | Calculate a path to a specified point and store the resulting path. |
raycast | Trace a straight path towards a target postion in the NavMesh without moving the agent. |