From 0e8d89aa5fcfd1c504279c04cabede1163dccc25 Mon Sep 17 00:00:00 2001 From: Persephone Bubblegum-Holiday Date: Wed, 20 Aug 2025 16:32:29 -0700 Subject: [PATCH] velocity is reset upon respawning --- Scripts/Player/Player.gd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Scripts/Player/Player.gd b/Scripts/Player/Player.gd index f3eee2e..66d82a3 100644 --- a/Scripts/Player/Player.gd +++ b/Scripts/Player/Player.gd @@ -69,6 +69,9 @@ func _unhandled_input(event: InputEvent) -> void: $DebugMenu.visible = !$DebugMenu.visible elif event.is_action_pressed(&"freeroam_respawn"): self.position = startPosition + walk_vel = Vector3(0, 0, 0) + jump_vel = Vector3(0, 0, 0) + grav_vel = Vector3(0, 0, 0) elif event.is_action_pressed(&"freeroam_flashlight_zoom_in"): if ($Camera/Flashlight.visible): if ($Camera/Flashlight.spot_angle > 2):