box2d icon indicating copy to clipboard operation
box2d copied to clipboard

Study b2NLerp

Open erincatto opened this issue 9 months ago • 1 comments

Compare with quaternion nlerp.

erincatto avatar Apr 07 '25 06:04 erincatto

Complex number nlerp is accurate to ~4 degrees while quaternion nlerp is accurate to ~1 degree.

Investigate switching to a 2D quaternion for v3.2

erincatto avatar May 11 '25 21:05 erincatto

I think this will make rotation more expensive. The current setup is basically matrix time vector, which is faster than quaternion rotation. Doesn't seem to be worth the trade-off.

erincatto avatar Sep 12 '25 05:09 erincatto