Summary

An agent that can navigate the navmesh defined in the scene.

Fields

CurrentLinkTraversal Information about the current link traversal.

Properties

Acceleration The maximum acceleration a agent can have. This is how fast the agent can change its velocity. If you want snappy movement this should be as high or higher than Sandbox.NavMeshAgent.MaxSpeed.
AgentPosition Updated with the agent's position, even if UpdatePosition is false
AutoTraverseLinks
Height
IsTraversingLink Returns true if the agent is currently traversing a link.
LinkEnter Emitted when the agent enters a link.
LinkExit Emitted when the agent exits a link.
MaxSpeed
Radius
Separation
SyncAgentPosition
TargetPosition
UpdatePosition Set the Position of the GameObject to the agent position every frame. You can turn this off and handle it yourself by using the AgentPosition property.
UpdateRotation This will simply face the direction it is moving. It is not configurable on purpose, so you should really turn this off and be doing this yourself if you need it to do anything specific.
Velocity
WishVelocity

Methods

CompleteLinkTraversal Finish link traversal, must be called after traversing a link if AutoTraverseLinks is false.
GetLookAhead
MoveTo
SetAgentPosition
Stop Stop moving, or whatever we're doing
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.