Godot Version
4.2.2
Question
Hi, I’m a newbie. I want to create sine wave animation like this
But I don’t have the ways to create it. Can anyone help me? Thanks!
4.2.2
Hi, I’m a newbie. I want to create sine wave animation like this
But I don’t have the ways to create it. Can anyone help me? Thanks!
use 2 tween
tween that move the “position:x” property to x position
and
tween that move the “position:y” property to up and down position that consists of 4 looping tween_property with correct ease in then ease out with sine trans
as for angle, like shown in the picture, just rotate the node