9
Achieving Better Animations Using the New Animation Editor
In this chapter, we are going to create a 3D cube, and in the animation player, we will use the new 3D Position, 3D Rotation, and 3D Scale tracks on the cube. We will create an animation with the improved Bezier curve to spin a cube one way and then the other way at the end of the animation. In Godot 4, we can use Euler, Quaternion, and Basis on rotation in animations. We are going to create an animation that has a rotation animation on the x, y, and z axes.
We will change the rotation order of the Euler rotations to see the effect of the MeshInstance3D node we rotated. With animations, Godot 4 removed the dependency on bone rests. Now, skeletons only have a final pose for each bone. ...
Get Godot 4 Game Development Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.