getVelocityMagnitude

public double getVelocityMagnitude()

This returns the magnitude of the current velocity. For when you only need the magnitude.

Return

returns the magnitude of the current velocity.