summaryrefslogtreecommitdiffhomepage
path: root/Racing-Game/4WheelCar/Wheel.gd
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2020-03-19 03:28:23 -0400
committerrealtradam <[email protected]>2020-03-19 03:28:23 -0400
commit57c5f73d0d957dc426d922d591fa5a0dd1452892 (patch)
tree490e1eaf130d7c3eab82c34505e1153d4837d002 /Racing-Game/4WheelCar/Wheel.gd
parent2e7c27e3934fd9c73f7e6cd414a50a9a17e1669c (diff)
downloadoptimal-direction-57c5f73d0d957dc426d922d591fa5a0dd1452892.tar.gz
optimal-direction-57c5f73d0d957dc426d922d591fa5a0dd1452892.zip
made weight distribution also more modular
Diffstat (limited to 'Racing-Game/4WheelCar/Wheel.gd')
-rw-r--r--Racing-Game/4WheelCar/Wheel.gd2
1 files changed, 0 insertions, 2 deletions
diff --git a/Racing-Game/4WheelCar/Wheel.gd b/Racing-Game/4WheelCar/Wheel.gd
index 88ab9b1..49024fb 100644
--- a/Racing-Game/4WheelCar/Wheel.gd
+++ b/Racing-Game/4WheelCar/Wheel.gd
@@ -28,8 +28,6 @@ func initVars(dataArray):
# #---Creating and attaching pinjoint to wheel
var tempA = PinJoint2D.new()
tempA.set_position(Vector2(dataArray[0],dataArray[1]))
-# var tempB = Sprite.new()
- print(get_parent().get_parent().get_path())
tempA.set_node_a(get_path())
tempA.set_node_b(get_parent().get_parent().get_path())
tempA.softness = 0