dusk
September 18, 2025, 9:24pm
1
Godot Version
4.5
Question
As stated in the title, non-uniform scale on a node causes its global_rotation to snap to PI/2 or 1.57
Godot Version
4.2.2
Question
I think I’m not understanding global_rotation represents.
I wanted to use it to rotate a 3D node along the global y-axis.
I know now that I was supposed to use the global_rotate() method.
But then I fail to understand what the global_rotation is for.
Here’s what happened.
Everything works was expected when using rotation.y += PI.
But when trying to rotate an object with global_rotation.y += PI.
Everything is just broke.
First, it resets the scale of the obje…
This topic seems to have the same issue and no solution so far
Help would be appreciated
After testing a bit the issue only seems to happen when setting scale and rotation thru code
In the editor this issue doesn’t happen
I remember reading a caution a year or two ago about this. TBH, I just avoid doing it. However, if I were to try it, I’d look at moving the origin point of the object as well in 3D.
1 Like
dusk
September 18, 2025, 11:42pm
3
Ok I fixed it by not using global_rotation, instead i just used the rotation property and it now works, that is interesting
1 Like
system
Closed
October 18, 2025, 11:42pm
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.