SNavMeshAgent
Last updated
Last updated
Sinespace® is a registered trademark of Sine Wave Entertainment Ltd, All Rights Reserved.
float GetAreaCost (int areaIndex)
Function Description
Apply relative movement to current position.
void Resume ()
Resume the NavMesh agent.
void SetAreaCost (int areaIndex, float cost)
Sets the cost for traversing over areas of the area type.
void Stop ()
To stop the NavMesh agent.
Set or update the destination.
Warp to the position you want, also you can set agent's world position and vector to make this act as Move(SVector position).
bool Enabled get
set
Enable or disable this component.
float Accelleration get
set
The maximum acceleration of an agent as it follows a path.
float AngularSpeed get
set
Maximum turning speed in while following a path.
int AreaMask get
set
Specifies which NavMesh area is passable.
bool AutoRepath get
set
Set the agent attempt to acquire a new path if the existing path becomes invalid.
bool AutoBraking get
set
Set the agent brake automatically to avoid overshooting the destination point.
bool AutoTraverseOffMeshLink get
set
Set the agent move across OffMeshLinks automatically.
int AvoidancePriority get
set
The avoidance priority level.
float BaseOffset get
set
The relative vertical displacement of the GameObject.
The desired velocity of the agent including any potential contribution from avoidance.
The desired velocity of the agent including any potential contribution from avoidance.
bool HasPath get
Does the agent currently have a path?
float Height get
set
The height of the agent for purposes of passing under obstacles, etc.
bool IsOnNavMesh get
Is the agent currently bound to the navmesh?
bool IsOnOffMeshLink get
Is the agent currently positioned on an OffMeshLink?
bool IsPathStale get
Is the current path stale?
Get or set the simulation position of the navmesh agent.
End positon of navigation.
bool PathPending get
Is a path in the process of being computed but not yet ready?
float Radius get
set
The avoidance radius for the agent.
float RemainingDistance get
The distance between the agent's position and the destination on the current path.
float Speed get
set
Maximum movement speed when following a path.
Get the current steering target along the path.
float StoppingDistance get
set
Stop within this distance from the target position.
bool UpdatePosition get
set
Get or set whether the transform position is synchronized with the simulated agent position.
bool UpdateRotation get
set
Should the agent update the transform orientation?
access the current velocity of the NavMeshAgent component, or set a velocity to control the agent manually.
Property Description
void Move ( movement)
void SetDestination ( position)
void Warp ( position)
DesiredVelocity get
Destination get
set
NextPosition get
set
PathEndPosition get
SteeringTarget get
Velocity get
GameObject get