build Constructors 1

data_object Properties 22

Acceleration
float
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
Vector3
The current simulated position, including when UpdatePosition is false.
AllowAllLinkTypes
bool
Can the agent take links of every type? When false it takes plain links and the types in Sandbox.NavMeshAgent.AllowedLinkTypes only.
AllowDefaultArea
bool
Is the agent allowed to travel on the default area?
AllowedAreas
HashSet`1
What areas the agent is allowed to travel on. If empty, all areas are allowed.
AllowedLinkTypes
HashSet`1
The link types the agent may take when Sandbox.NavMeshAgent.AllowAllLinkTypes is false. Empty means plain links only.
AutoTraverseLinks
bool
Should the agent automatically traverse links when it reaches them? Or do you want to implement your own link traversal logic?
ForbiddenAreas
HashSet`1
What areas the agent is not allowed to travel on. If empty, no areas are forbidden.
Height
float
IsNavigating
bool
True while the agent follows a route. False once it has arrived, also at the end of a route that stops short of the target.
IsTraversingLink
bool
LinkEnter
Action
LinkExit
Action
MaxSpeed
float
Radius
float
Separation
float
Gets or sets the separation factor used to control how strongly agents avoid crowding each other.
SyncAgentPosition
obsoletebool
TargetPosition
Nullable`1
The requested target, or null when stopped.
UpdatePosition
bool
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
bool
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
Vector3
WishVelocity
Vector3

Inheritance

people
Log in to reply
You can't reply if you're not logged in. That would be crazy.