small racing game im working on
Diffstat (limited to 'classes/booster.gd')
-rw-r--r--classes/booster.gd7
1 files changed, 7 insertions, 0 deletions
diff --git a/classes/booster.gd b/classes/booster.gd
new file mode 100644
index 0000000..7ed3de7
--- /dev/null
+++ b/classes/booster.gd
@@ -0,0 +1,7 @@
+@tool
+class_name Booster
+extends Platform3D
+
+## Reset the animation
+func sync() -> void:
+ %animator.seek(0, true)