Struct ManagedMovementOverrides

Public

Helper for adding and removing hooks to the FollowerEntity component.

This is used to allow other systems to override the movement of the agent.

Public Methods

Registers a callback that runs after the agent has calculated how it wants to move, except for local avoidance.

Registers a callback that runs before the agent calculates how it wants to move, but after it has repaired its path.

Registers a callback that will be called before the agent is moved, but after it has calculated how it wants to move.

AddCallback<C,T> (callback)
ManagedMovementOverrides (entity, world)

Removes a callback previously added with AddAfterControlCallback.

Removes a callback previously added with AddBeforeControlCallback.

Removes a callback previously added with AddBeforeMovementCallback.

RemoveCallback<C,T> (callback)

Public Variables

entity
Public
world
Public