You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm having some problems with the get_euler function of the core basis type.
The Y axis of the result goes from 0.0 to -PI/2 then back to 0.0 then to PI/2 (if reading it counterclockwise). So it kind of goes only half the circle.
Is this an expected behavior?
Here's an example of this:
I'm using transform's looking_at function to get the desired rotation of the character. But getting the yaw of the character with get_euler function results in this behavior. I haven't encountered this problem with GDScript.
Thanks.
The text was updated successfully, but these errors were encountered:
Hello!
I'm having some problems with the get_euler function of the core basis type.
The Y axis of the result goes from 0.0 to -PI/2 then back to 0.0 then to PI/2 (if reading it counterclockwise). So it kind of goes only half the circle.
Is this an expected behavior?
Here's an example of this:
I'm using transform's looking_at function to get the desired rotation of the character. But getting the yaw of the character with get_euler function results in this behavior. I haven't encountered this problem with GDScript.
Thanks.
The text was updated successfully, but these errors were encountered: