How to animate whole animated_sprite_3D?

Godot Version

Godot 4.3

Hi hi, I am new to coding so sorry for the ignorance, but how can I specifically rotate a whole 3D sprite such as it´s going left and right and a bit forwards and backwards? Sort of like a pendulum or more specifically, the text animation of hotline miami’s text menu

Thanks in advance, I left a gif of what I was talking about in the prior line

Hotline_Miami_Main_Menu

Unsure as to exactly how you want the movement to be but you just animate it like anything else really. By using an AnimationPlayer you can easily keyframe it to have any motion you want and fine tune it. Here’s an example in 2D but the principal is just the same(just one less axis):
qwertqwertq

2 Likes

Can this method work on a 3Dsprite on a 3d environment?

Yes, it’s exactly the same. You just have an additional axis(x, y + z).

1 Like