Function ManagedMovementOverrides.AddBeforeControlCallback
AddBeforeControlCallback
(BeforeControlDelegate value)
Registers a callback that runs before the agent calculates how it wants to move, but after it has repaired its path.
Public
void AddBeforeControlCallback (
value |
Registers a callback that runs before the agent calculates how it wants to move, but after it has repaired its path.
You can use this to tweak the agent's movement slightly.
See
FollowerEntity.movementOverrides for example code.