Struct AgentSteering
Agent's steering towards destination with arrival.
Implements
IComponentData
IQueryTypeParameter
Inherited Members
Namespace: ProjectDawn.Navigation
Assembly: ProjectDawn.Navigation.dll
Syntax
[Obsolete("AgentSteering is deprecated, please use AgentLocomotion!", false)]
public struct AgentSteering : IComponentData, IQueryTypeParameter
Fields
| Improve this Doc View SourceAcceleration
The maximum acceleration of an agent as it follows a path, given in units / sec^2.
Declaration
public float Acceleration
Field Value
Type | Description |
---|---|
float |
AngularSpeed
Maximum turning speed in (rad/s) while following a path.
Declaration
public float AngularSpeed
Field Value
Type | Description |
---|---|
float |
AutoBreaking
Should the agent brake automatically to avoid overshooting the destination point?
Declaration
public bool AutoBreaking
Field Value
Type | Description |
---|---|
bool |
Speed
Maximum movement speed when moving to destination.
Declaration
public float Speed
Field Value
Type | Description |
---|---|
float |
StoppingDistance
Stop within this distance from the target position.
Declaration
public float StoppingDistance
Field Value
Type | Description |
---|---|
float |
Properties
| Improve this Doc View SourceDefault
Returns default configuration.
Declaration
public static AgentSteering Default { get; }
Property Value
Type | Description |
---|---|
AgentSteering |
Implements
Unity.Entities.IComponentData
Unity.Entities.IQueryTypeParameter