Struct DestinationEntity Extends IComponentData, IEnableableComponent

Public

Holds an agent's destination as an entity.

Every frame, the position of this entity will be copied to the DestinationPoint.destination field of the agent, by the DestinationEntitySystem.

Public Variables

destination

The entity whose position the agent is moving towards.

Public
useRotation

If true, the agent will try to align itself with the rotation of the destination entity.

Public