bugged-racing/vehicles/tire_smoke.gd

9 lines
142 B
GDScript

class_name TireSmoke
extends Particles
func update(skidinfo: float) -> void:
if skidinfo < 0.5:
emitting = true
else:
emitting = false