Add Angle2D and Angle3D classes to represent angles and rotation. #8837
Replies: 2 comments 2 replies
-
See: Which had more details but was closed due to lack of support Also other than rotation there's no simple definition of "angle" in three dimensions, only concepts of rotation in specific coordinate systems |
Beta Was this translation helpful? Give feedback.
-
Angle3D? There's so many ways to express 3D angles in Godot. Basis, Quartenions, a Vector3 containing euler angles in either radians or degrees... I agree they look really complicated on the surface, and they most certainly are, but I feel like it doesn't warrant adding yet another type for them. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
The way Godot handles angles and rotation right now, with simple floats (like
rotation
androtation_degrees
), vectors and functions (likerad_to_deg()
), is pretty rudimentary considering the otherwise super-high level of the engine. Making standardizedAngle2D
andAngle3D
classes that have functions for working with different angle types (degree, radians, normalized...), while storing the values in a single matter, seems like an optimization that could enhance workflow and reduce the number of errors.Beta Was this translation helpful? Give feedback.
All reactions