public void LimitVelocity() { if (velocity.Length > SpeedLimit) { velocity = (Vector3D)((velocity / velocity.Length) * SpeedLimit); } }