From 71efbbdf934d444a012a981bf34738f0d958afc5 Mon Sep 17 00:00:00 2001 From: mathias Date: Sun, 2 Feb 2020 13:06:02 +0100 Subject: [PATCH] Head can be included, prints out --- BodyParts/BodyBase/BodyBase.gd | 3 --- BodyParts/BodyBase/BodyBase.tscn | 4 ++++ 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/BodyParts/BodyBase/BodyBase.gd b/BodyParts/BodyBase/BodyBase.gd index c6ee370..42bfcb2 100644 --- a/BodyParts/BodyBase/BodyBase.gd +++ b/BodyParts/BodyBase/BodyBase.gd @@ -28,6 +28,3 @@ func _physics_process(delta): apply_torque_impulse(-(rot_vector * current_angle * 20)) else: angular_velocity = Vector3.ZERO - - print("deg: %s" % rad2deg(current_angle)) - print("rad: %s" % current_angle) diff --git a/BodyParts/BodyBase/BodyBase.tscn b/BodyParts/BodyBase/BodyBase.tscn index 7c23cf8..e68f92a 100644 --- a/BodyParts/BodyBase/BodyBase.tscn +++ b/BodyParts/BodyBase/BodyBase.tscn @@ -63,6 +63,10 @@ key = 81 transform = Transform( -0.870723, -0.384569, -0.26555, 1.84307e-07, -0.573576, 0.807811, -0.462972, 0.723268, 0.499426, 1, -1.9, -2.5 ) key = 87 +[node name="Head" parent="." instance=ExtResource( 2 )] +transform = Transform( -0.986155, 3.25841e-07, 0, -3.2133e-07, -1, 0, 0, 0, 0.986155, 0, 0, -3.63054 ) +key = 87 + [node name="Torso" parent="." instance=ExtResource( 3 )] transform = Transform( 0.5, 0, 0, 0, -2.18557e-08, 0.5, 0, -0.5, -2.18557e-08, 0, 0, 0 )