Can you tween a basis slerp property?

Godot Version

Godot 4.7.2.stable.mono

Question

Hi all,

I’m rotating an object with tween properties.

Just wondering, is there a way to rotate using basis slerp without making a seperate method to handle that?

var newTween = testCube.CreateTween();
newTween.TweenProperty(testCube, "basis", targetRotation, 1);

Thanks,

Pete

Tween quaternions. The engine will slerp them. Converting bases to quaternions is trivial. If you’re animating the rotation of Node3D derived nodes, you can directly tween the quaternion property.

Hey great! Thanks for that, got it all working nicely. :slight_smile: