Tweening Rotations Shortest Distance
If I want to tween a local euler rotation from 355,0,0 to 5,0,0, GoKit will calculate the distance as -350,0,0. Is there a way to get it to tween a distance of 10,0,0?
Yes, use quaternions.
- Michael
On Wed, Sep 26, 2018 at 11:24 AM alexjhetherington [email protected] wrote:
If I want to tween a local euler rotation from 355,0,0 to 5,0,0, GoKit will calculate the distance as -350,0,0. Is there a way to get it to tween a distance of 10,0,0?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/prime31/GoKit/issues/86, or mute the thread https://github.com/notifications/unsubscribe-auth/ASds_0Xhak--BW8s6KU7wofsj4wfuRRcks5ue5w5gaJpZM4W66f7 .