small racing game im working on
Diffstat (limited to 'track.gd')
-rw-r--r--track.gd12
1 files changed, 12 insertions, 0 deletions
diff --git a/track.gd b/track.gd
new file mode 100644
index 0000000..c29ab62
--- /dev/null
+++ b/track.gd
@@ -0,0 +1,12 @@
+extends Resource
+class_name TrackResource
+## Width of road
+@export var track_width = 17.0
+## Distance between rails and road
+@export var rail_distance = 3.0
+## Support base width
+@export var lower_support_width = 15.0
+## Height of supports
+@export var support_height = 8.0
+## Track curve
+@export var track: Curve3D = null \ No newline at end of file