superframe icon indicating copy to clipboard operation
superframe copied to clipboard

[Animation] consider slerp option for rotations

Open andreasplesch opened this issue 8 years ago • 1 comments

Perhaps as an ease function, added by the component to anime.js as a custom ease function. THREE may already have a slerp implementation to use: https://github.com/mrdoob/three.js/blob/ff2ce5657cf1e2567c7d240ff881b2564d133570/src/math/Quaternion.js#L21

andreasplesch avatar Jun 28 '17 03:06 andreasplesch

The lerp component has slerp for rotations:

https://github.com/haydenjameslee/aframe-lerp-component/blob/master/index.js#L46

andreasplesch avatar Jun 29 '17 14:06 andreasplesch