From 843bdbd9c2026e5990eff14c7c134ff8d6c6a8c5 Mon Sep 17 00:00:00 2001 From: IcECreAm777 Date: Sun, 9 Jul 2023 16:32:17 +0200 Subject: reset the velocity --- Scripts/scene_control.gd | 1 + 1 file changed, 1 insertion(+) diff --git a/Scripts/scene_control.gd b/Scripts/scene_control.gd index c4d42ec..453853c 100644 --- a/Scripts/scene_control.gd +++ b/Scripts/scene_control.gd @@ -64,6 +64,7 @@ func reset_level(): car.global_position = start.global_position car.global_rotation = start.rotation; + car.velocity = Vector2.ZERO current_time = 0.0 -- cgit