small racing game im working on
Diffstat (limited to 'classes/resources/car_vars.gd')
-rw-r--r--classes/resources/car_vars.gd2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/resources/car_vars.gd b/classes/resources/car_vars.gd
index fb788ba..d2266a3 100644
--- a/classes/resources/car_vars.gd
+++ b/classes/resources/car_vars.gd
@@ -56,5 +56,5 @@ static func create(from: Car) -> PackedFloat32Array:
for i in from.wheels.size():
arr.append(int(from.wheels[i].is_in_contact()))
for i in from.wheels.size():
- arr.append_array(vec2arr(from.wheels[i].position))
+ arr.append_array(CarVars.vec2arr(from.wheels[i].position))
return arr