Animating position and rotation

Godot Version

4.2.1

Question

I’m trying to animate position and rotation at the same time. It works fine in the editor, and they work in-game separately, but not together at the same time (rotation and position). What is the issue?

the animation just rotate and position z?

Yes, I want to move along the z axis while rotating around the y axis.
Tried it like this too.

did you turn on this?
image

Yes, I did.


did you add the key from this?

Yes, i used the key icon.

turn it off
and it should work
animatblebody

You’re right it works that way! I need it to interact with other physics object though, will it cause any physics issues because it’s not synced? Animating seems to be the easiest way to create moving platforms.

animate the Node3D of parent of this animatable Body instead, while keeping sync to physics on

Makes sense, thanks!

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.