RVOController AvoidingAnyAgents and Movement Delta API Behavior

Hello!

if RVOController.AvoidingAnyAgents is false … why would RVOController.CalculateMovementDelta then return a non-zero value?

Is this a bug, or am I misunderstanding what CalculateMovementDelta does? I would think CalulateMovementDelta should return zero unless agent avoidance is active.

RVOController.CalculateMovementDelta returns how the agent should move after taking local avoidance into account. So if you tell it to move forward, it will still want to move forward even if there are no agents around. It’s not a modifier to your movement direction.

1 Like