Closed nashmuhandes closed 5 days ago
Just for reference this is how gutamatics does it https://gitlab.com/Gutawer/gzdoom-gutamatics/-/blob/master/Gutamatics/Quaternion.zsc?ref_type=heads#L72-101
this was left out on purpose for reasons about gimbal lock at the pitch extremities and how that affects gzdoom’s euler angle interpolation, i’d recommend still keeping it out on purpose. people who really want to can implements this function inside zscript. id recommend keeping it this way
regardless please absolutely do not just copy this from gutamatics, im not sure at all of that codes quality
Understood
GZDoom version
No response
Which game are you running with GZDoom?
None
What Operating System are you using?
None
If Other OS, please describe
No response
Relevant hardware info
No response
Is your feature request related to a problem? Please describe.
A built-in function to get
Angle
,Pitch
andRoll
value from a quat.Describe the solution you'd like
No response
Describe alternatives you've considered
No response
Add any other context or screenshots about the feature request here.
No response