+2 votes

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.

Godot version 3.2.3
in Engine by (14 points)

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.