Freya Holmér
Freya Holmér

@FreyaHolmer

5 Tweets 2 reads Dec 15, 2022
fuck it, I did the math, swizzle your quaternions (w,x,y,z) why not
(-x, w, -z, y) is 180° around X
(-y, z, w, -x) is 180° around Y
(-z, -y, x, w) is 180° around Z
btw those are "local space"/intrinsic rotations, here are the "world space"/extrinsic rotations:
(-x, w, z, -y) is 180° around world X
(-y, -z, w, x) is 180° around world Y
(-z, y, -x, w) is 180° around world Z
also I might be wrong bc this is completely untested so don't trust me
I have now tested it and it works! (except I got extrinsic/intrinsic backwards)
ok there we go

Loading suggestions...