Struct MovementState Extends IComponentData
Public Methods
Sets the appropriate fields to indicate that the agent has no path.
Public Variables
The closest point on the navmesh to the agent.
The end of the current path.
The index of the hierarchical node that the agent is currently in.
The next corner in the path.
Version number of PathTracer.version when the movement state was last updated.
True if the agent has reached its destination.
True if the agent has reached its destination and is facing the desired orientation.
True if the agent has reached the end of the current part in the path.
True if the agent has reached the end of the path.
True if the agent has reached its destination and is facing the desired orientation.
The remaining distance until the end of the path, or the next off-mesh link.
The current additional rotation that is applied to the agent.
An additional, purely visual, rotation offset.