Head can be included, prints out

This commit is contained in:
mathias 2020-02-02 13:06:02 +01:00
parent 18158fa8de
commit 71efbbdf93
2 changed files with 4 additions and 3 deletions

View File

@ -28,6 +28,3 @@ func _physics_process(delta):
apply_torque_impulse(-(rot_vector * current_angle * 20)) apply_torque_impulse(-(rot_vector * current_angle * 20))
else: else:
angular_velocity = Vector3.ZERO angular_velocity = Vector3.ZERO
print("deg: %s" % rad2deg(current_angle))
print("rad: %s" % current_angle)

View File

@ -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 ) 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 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 )] [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 ) transform = Transform( 0.5, 0, 0, 0, -2.18557e-08, 0.5, 0, -0.5, -2.18557e-08, 0, 0, 0 )