Class NavAgentProperties
The navigation system agent properties container for navmesh building and querying.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class NavAgentProperties : ValueType
The navigation system agent properties container for navmesh building and querying.
[Unmanaged]
public sealed class NavAgentProperties : ValueType
The crowd agent separation weight that defines how aggressive the agent manager should be at avoiding collisions with this agent.
[EditorOrder(100)]
public float CrowdSeparationWeight
System.Single
|
The height of the agent used for navigation. Agents can't enter areas with ceilings lower than this value.
[EditorOrder(10)]
public float Height
System.Single
|
The maximum slope (in degrees) that is considered walkable for navigation. Agents can't go up or down slopes higher than this value.
[EditorOrder(30)]
public float MaxSlopeAngle
System.Single
|
The maximum movement speed (units/s).
[EditorOrder(40)]
public float MaxSpeed
System.Single
|
The radius of the agent used for navigation. Agents can't pass through gaps of less than twice the radius.
[EditorOrder(0)]
public float Radius
System.Single
|
The step height used for navigation. Defines the maximum ledge height that is considered to still be traversable by the agent.
[EditorOrder(20)]
public float StepHeight
System.Single
|
The default NavAgentProperties.
public static NavAgentProperties Default { get; }
NavAgentProperties
|
public override string ToString()
System.String
|