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):