Struct MovementControl Extends IComponentData

Public

Desired movement for an agent.

This data will be fed to the local avoidance system to calculate the final movement of the agent. If no local avoidance is used, it will be directly copied to ResolvedMovement.

Public Variables

endOfPath

The end of the current path.

Public
hierarchicalNodeIndex

The index of the hierarchical node that the agent is currently in.

Public
maxSpeed

The maximum speed at which the agent may move, in meters per second.

Public
overrideLocalAvoidance

If true, this agent will ignore other agents during local avoidance, but other agents will still avoid this one.

Public
rotationSpeed

The speed at which the agent should rotate towards targetRotation + targetRotationOffset, in radians per second.

Public
speed

The speed at which the agent should move towards targetPoint, in meters per second.

Public
targetPoint

The point the agent should move towards.

Public
targetRotation

The desired rotation of the agent, in radians, relative to the current movement plane.

Public
targetRotationHint

The desired rotation of the agent, in radians, over a longer time horizon, relative to the current movement plane.

Public
targetRotationOffset

Additive modifier to targetRotation, in radians.

Public