How to interpolate 3d rotation using Tween and quarerniinst

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By LuiWolff

I’m animating a vehicle interior and using Tween for interpolation. One particular door, however, is rotated in all 3 axes in relation to global, so using the rotation property yields a very weird spline, certainly not aligned with the door hinges.

I should use Quats, but I’ve never seen them used with Tween. Any tips on how to do that? If it’s not even possible, should I use slerp() instead?

Also. Most examples of quat rotation are transitions between two transforms. How should I obtain the transform I’m trying to rotate the object into? Should j construct it based on the known Euler angles? Any insight is appreciated.