Create a sine behaviour for the player, and set it to affect Z elevation. I have mine set to:
Wave: Sine
Period: 4
Period Random: 0
Period Offset: 0
Period Offset Random: 0
Magnitude: 0.1
Magnitude Random: 0
Hope this helps
Develop games in your browser. Powerful, performant & highly capable.
Use
-> Mouse On movement | Rotate camera by Mouse.Movement.X/12 and Mouse.Movement.Y/12 polar angle range 0 to 180
Even though it's for mouse look, touch control will automatically use the same script.
Member since 9 Jan, 2022