Hi! First of all, I'm sorry if this is the wrong place to ask.
I created some MTA maps which I would like to use in singleplayer GTA, and now I'm trying to convert those MTA objects to .ipl files. Some simple rotations (where only Z axis is rotated in MTA) are working well when I convert them, but others aren't. This site says that .ipl objects are created in this form:
Then I found this XYZ to quaternion converter. Now here's two examples of that converter in action. When I take an object with simple rotation (example), input those rotations in converter to get quaternions, I come up with this line which works just fine in game:
But then, when I want to convert some object with more complex rotations (like this one), I put them into converter like I did for previous one, and come up with this:
And then when I go test it in game, it is rotated completely wrong. So I'd like to know if there's a problem with this converter, or am I using it wrong or something. Is there any way to convert XYZ rotations to XYZW?
Thanks!