|
@@ -122,7 +122,7 @@ namespace Animation
|
|
rotatable.gameObject.transform.localRotation = initialRotations[rotatable];
|
|
rotatable.gameObject.transform.localRotation = initialRotations[rotatable];
|
|
}
|
|
}
|
|
|
|
|
|
- if (angle <= 0.2f) return;
|
|
|
|
|
|
+ if (Mathf.Abs(angle) <= 0.2f) return;
|
|
|
|
|
|
Vector3 axis;
|
|
Vector3 axis;
|
|
if (rotatable.rotateAxis == RotateAxis.Up)
|
|
if (rotatable.rotateAxis == RotateAxis.Up)
|