What would be the alternative to slerp that takes the shortest path?
Re:Rotations with quaternions
by edflsafoiewq on Tuesday June 01, 2021 @11:42AM
(#27356240)
Just replace q2 with -q2 if q1 and q2 are in opposite hemispheres, then slerp.
If I'm not wrong you check if q1 and q2 are in opposite hemispheres with the sign of their dot product?
Re:Rotations with quaternions
by edflsafoiewq on Tuesday June 01, 2021 @05:39PM
(#27361696)
Yes.
If you are not careful, this is what you may end up with: https://www.reddit.com/r/FIFA/comments/9gms3n/most_realistic...