diff options
Diffstat (limited to 'Racing-Game/4WheelCar/Skid/SkidController.gd')
| -rw-r--r-- | Racing-Game/4WheelCar/Skid/SkidController.gd | 2 |
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() |
