Class MovementUtilities
Public
Public Static Methods
CalculateAccelerationToReachPoint
(deltaPosition, targetVelocity, currentVelocity, forwardsAcceleration, rotationSpeed, maxSpeed, forwardsVector)
Calculate an acceleration to move deltaPosition units and get there with approximately a velocity of targetVelocity.
Public
Static
ClampVelocity
(velocity, maxSpeed, speedLimitFactor, slowWhenNotFacingTarget, forward)
Clamps the velocity to the max speed and optionally the forwards direction.
Public
Static