[Tool/Web/Other] [PHP] Convert Quaternion from/in Euler Angles? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Other (
https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (
https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: [Tool/Web/Other] [PHP] Convert Quaternion from/in Euler Angles? (
/showthread.php?tid=70070)
[PHP] Convert Quaternion from/in Euler Angles? -
Programie - 22.03.2009
Hi,
Since today I work on a PHP-Script to convert a IPL-Map to a Pawn-Script (And Pawn-Script to IPL-Map).
All works excluded the rotation part.
How can I convert the rotation values from IPL to rotation values in a Pawn-Script or rotation values from a Pawn-Script to rotation values in IPL?
I mean Quaternion to Euler Angles (Or Euler Angles to Quarternion).
It would be nice if somebody could help me.
If somebody want's to use this tool:
Here is the link