summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/4WheelCar/Skid/SkidController.gd
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2020-03-18 00:58:15 -0400
committerrealtradam <[email protected]>2020-03-18 00:58:15 -0400
commit0fe77a326aec5732920dd3b23b36fd3405ff9e25 (patch)
tree2494e1e6c6693c46dab5b2b1f90abc6720d85793 /Racing-Game/4WheelCar/Skid/SkidController.gd
parent5a33ed9381e43b50d56f2ef7f149baef83edcf7d (diff)
downloadoptimal-direction-0fe77a326aec5732920dd3b23b36fd3405ff9e25.tar.gz
optimal-direction-0fe77a326aec5732920dd3b23b36fd3405ff9e25.zip
Removed a lot of useless or commented out code
Diffstat (limited to 'Racing-Game/4WheelCar/Skid/SkidController.gd')
-rw-r--r--Racing-Game/4WheelCar/Skid/SkidController.gd2
1 files changed, 0 insertions, 2 deletions
diff --git a/Racing-Game/4WheelCar/Skid/SkidController.gd b/Racing-Game/4WheelCar/Skid/SkidController.gd
index 7c633c9..e3b28c3 100644
--- a/Racing-Game/4WheelCar/Skid/SkidController.gd
+++ b/Racing-Game/4WheelCar/Skid/SkidController.gd
@@ -17,13 +17,11 @@ func _ready():
# Called every frame. 'delta' is the elapsed time since the previous frame.
func _process(_delta):
-
if(skidSwitch && get_parent().isSkid):#if controller believes car is skidding and the wheel is skidding
#ignore the status and let the skid keep drawing
pass
elif(!skidSwitch && get_parent().isSkid):#controller doesnt skid, but wheel is supposed to be skidding
# create new skidding child, and set skid to true
-
skidSwitch = true
skidFile = load("res://4WheelCar/Skid/Skidmark.tscn")
skidRecent = skidFile.instance()