Help with sine wave animation

Godot Version



Hi, I’m a newbie. I want to create sine wave animation like this
Sine Wave - Royalty-Free GIF - Animated Sticker - Free PNG - Animated Icon
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
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

1 Like