Home Mail me

More Godot rotations

Oct 4, 2024

It turns out that Godot's "Y is positive" convention originates in OpenGL, which follows the same convention.

I also learned that Direct3D uses a left-handed coordinate system (while still having y pointing up). It's weird but it also means that if you go forward you move in the positive Z direction, whereas in Godot you go negative. (The camera will point in the positive Z direction by default though.)

Finally, I enjoyed seeing Euler getting roasted in the Godot docs:

This way of representing 3D rotations was groundbreaking at the time, but it has several shortcomings when used in game development (which is to be expected from a guy with a funny hat).

I like this notion of having one of the most important mathematicians of all time be just a guy with a funny hat who came up with a system for rotations that happens to be not very good for games.