aboutsummaryrefslogtreecommitdiffstats
path: root/Scripts/car_behaviour.gd
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-07-08 01:38:26 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-07-08 01:38:26 +0100
commit9ab7bc4c1e8bb266de9f100213e4036b1cd83c11 (patch)
treef658c8c25ddb6d740d1f8778fbec95c504588e25 /Scripts/car_behaviour.gd
parent88e3751834af72c413afa25a7c17a5994f570bfb (diff)
download2023-9ab7bc4c1e8bb266de9f100213e4036b1cd83c11.tar.gz
2023-9ab7bc4c1e8bb266de9f100213e4036b1cd83c11.tar.bz2
2023-9ab7bc4c1e8bb266de9f100213e4036b1cd83c11.zip
why does this work gdscript HELLO?base-car-behaviour
Diffstat (limited to 'Scripts/car_behaviour.gd')
-rw-r--r--Scripts/car_behaviour.gd6
1 files changed, 3 insertions, 3 deletions
diff --git a/Scripts/car_behaviour.gd b/Scripts/car_behaviour.gd
index dfc9ea4..c90fe05 100644
--- a/Scripts/car_behaviour.gd
+++ b/Scripts/car_behaviour.gd
@@ -1,10 +1,10 @@
extends StaticBody2D
# editor variables
-@export var max_speed = 350
+@export var max_speed = 3500
@export var steer_force = 0.1
-@export var look_ahead = 100
-@export var num_rays = 8
+@export var look_ahead = 75
+@export var num_rays = 32
# context array
var ray_directions = []