i saw a few mention gimbal lock problems but i cannot imagine how that would happen, as it never tries to move from one euler to another, coz it converts to quaternions before rotating.

it could be referring to a couple of singularities as certain cumulative values approach +-90 because the conversion involves atan, which cannot use those values. this isn't a problem in my script.
Quote:

it seems to work though!


for this i am so glad! jcl said atan2 would be available in lite-c soon, and as soon as that happens my code will be slightly more accurate. good to see u know what you're doing, even if quaternions are confusing, enough to use them!

i find quaternions so valuable in writing my own physics, which i'm doing for a school project.

julz


Formerly known as JulzMighty.
I made KarBOOM!