diff --git a/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs b/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs index 334e35a464..b662ab5d0b 100644 --- a/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs +++ b/modules/mono/glue/GodotSharp/GodotSharp/Core/Quaternion.cs @@ -576,6 +576,10 @@ namespace Godot { if (d >= 0.0f) { + X = 0.0f; + Y = 0.0f; + Z = 0.0f; + W = 1.0f; return; // Vectors are same. } Vector3 axis = n0.GetAnyPerpendicular();