diff --git a/Assets/Mirror/Components/NetworkTransform/NetworkTransformBase.cs b/Assets/Mirror/Components/NetworkTransform/NetworkTransformBase.cs index 54681229f..f58b69c08 100644 --- a/Assets/Mirror/Components/NetworkTransform/NetworkTransformBase.cs +++ b/Assets/Mirror/Components/NetworkTransform/NetworkTransformBase.cs @@ -181,7 +181,8 @@ protected virtual void Update() void CalculateAngularVelocity(Quaternion currentRot) { // calculate angle between two rotations - Quaternion deltaRotation = (currentRot * Quaternion.Inverse(lastRotation)).normalize; + Quaternion deltaRotation = currentRot * Quaternion.Inverse(lastRotation); + //Quaternion deltaRotation = (currentRot * Quaternion.Inverse(lastRotation)).normalize; // convert to angle axis deltaRotation.ToAngleAxis(out float angle, out Vector3 axis);