1
Fork 0
mirror of https://github.com/Steffo99/pineapple-surf.git synced 2024-11-21 23:34:21 +00:00

🫡 Reset player velocity on splash

This commit is contained in:
Ichicoro 2023-01-08 14:48:47 +01:00
parent 56993e3d1d
commit 7051a1a311

View file

@ -10,3 +10,4 @@ func _process(_delta):
if player.position.y < 0: if player.position.y < 0:
splash_sound.play() splash_sound.play()
player.position = spawn_point player.position = spawn_point
player.velocity = Vector3.ZERO