aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/car_behaviour.gd
diff options
context:
space:
mode:
authorLibravatar perivesta <>2023-07-08 15:53:37 +0200
committerLibravatar perivesta <>2023-07-08 15:53:37 +0200
commit9573d3ae4170f43f7f65224a16db7ad161a11e28 (patch)
treeaca31f8254e6e2876ade6472febf8ad003bfea18 /Scripts/car_behaviour.gd
parentbf17c8a97b77cdb783a2751e7ee4a90843a00f06 (diff)
download2023-9573d3ae4170f43f7f65224a16db7ad161a11e28.tar.gz
2023-9573d3ae4170f43f7f65224a16db7ad161a11e28.tar.bz2
2023-9573d3ae4170f43f7f65224a16db7ad161a11e28.zip
add main menu, pause menu, basic level
Diffstat (limited to '')
-rw-r--r--Scripts/car_behaviour.gd2
1 files changed, 0 insertions, 2 deletions
diff --git a/Scripts/car_behaviour.gd b/Scripts/car_behaviour.gd
index 0463dc1..03546d3 100644
--- a/Scripts/car_behaviour.gd
+++ b/Scripts/car_behaviour.gd
@@ -99,8 +99,6 @@ func own_movement(delta):
var actual_speed = lerpf(velocity.length(), max_speed, acceleration)
var actual_angle = lerp_angle(velocity.angle(), desired_velocity.angle(), steer_force)
- print("lerped speed: ", actual_speed, " | lerped angle: ", actual_angle)
-
velocity = Vector2.from_angle(actual_angle) * actual_speed
rotation = actual_angle