I hope to use the sin (radians) node to make a simple function of floating objects up and down, but my attempts fail and I hope to ask for help. Thank you very much.
This is not exactly what you want, but may be nice tutorial to watch anyway:https://youtube.com/watch?v=5kltaGld6fQ
When you know how it is done, you can add sinus function to force value that is pushing it, or entirely replace that force with modifying location.
Thank you very much！！
Ah btw i just remembered this:
And this may be exactly what you want, but watch first tut anyway, physics based floating looks more real.