public Vector3 AngularAccelerationStep(AIMovementPriority priority, float maxAngularAcceleration, Vector3 lowPriorityAcceleration) { if (!enabled) { return(lowPriorityAcceleration); } if (Target != null) { targetPoint = CalculateTargetPoint(); } targetRotation = CalculateTargetRotation(targetPoint); return(movement.CalculateAngularAccelerationStep(targetRotation)); }