diff options
| author | realtradam <[email protected]> | 2020-03-15 03:24:21 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2020-03-15 03:24:21 -0400 |
| commit | 007e9dab410d825e92b0d391fd8356efcb4cb5db (patch) | |
| tree | 1a20456a7d65202ac49c061466082b32411aa25f /Racing-Game/BLLine.gd | |
| parent | ace8100600de99aed17c5de718b582749f126168 (diff) | |
| download | optimal-direction-007e9dab410d825e92b0d391fd8356efcb4cb5db.tar.gz optimal-direction-007e9dab410d825e92b0d391fd8356efcb4cb5db.zip | |
updated file structure, still not done
Diffstat (limited to 'Racing-Game/BLLine.gd')
| -rw-r--r-- | Racing-Game/BLLine.gd | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Racing-Game/BLLine.gd b/Racing-Game/BLLine.gd deleted file mode 100644 index 755241d..0000000 --- a/Racing-Game/BLLine.gd +++ /dev/null @@ -1,25 +0,0 @@ -extends Line2D - -# Declare member variables here. Examples: -# var a = 2 -# var b = "text" -var tempnode = 0 -var on = true - -# Called when the node enters the scene tree for the first time. -func _ready(): - tempnode = get_node("../Cars/4WheelCar/CarBody/Wheels/BLWheel") - pass # Replace with function body. - -# Called every frame. 'delta' is the elapsed time since the previous frame. -func _process(delta): - pass - -func _on_BLWheel_slip(): - if(on): - add_point(tempnode.get_global_position()) - - -func _on_BLWheel_end(): - duplicate(1) - on = false
\ No newline at end of file |
