feat: Refactor head transformation logic and update driver paths for pivot integration
This commit is contained in:
+10
-8
@@ -342,9 +342,9 @@ width = 16.0
|
||||
default_color = Color(0.445488, 0.445488, 0.445488, 1)
|
||||
|
||||
[node name="Head" type="Node2D" parent="Body" unique_id=864822355]
|
||||
position = Vector2(28.397142, -447.61594)
|
||||
rotation = 0.40666866
|
||||
scale = Vector2(0.9999996, 0.9999996)
|
||||
position = Vector2(28.397173, -447.61597)
|
||||
rotation = 0.4066687
|
||||
scale = Vector2(0.9999997, 0.9999997)
|
||||
script = SubResource("GDScript_f0s26")
|
||||
|
||||
[node name="Skeleton2D" type="Skeleton2D" parent="." unique_id=1854735445]
|
||||
@@ -365,15 +365,17 @@ length = 90.0
|
||||
bone_angle = -90.0
|
||||
metadata/_local_pose_override_enabled_ = true
|
||||
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Skeleton2D/Torso/Head" unique_id=396112729]
|
||||
position = Vector2(0.050337255, -72.00002)
|
||||
remote_path = NodePath("../../../../Body/Head")
|
||||
update_scale = false
|
||||
|
||||
[node name="RayCast_Aim" type="RayCast2D" parent="Skeleton2D/Torso/Head" unique_id=2000000004]
|
||||
position = Vector2(0, -90)
|
||||
target_position = Vector2(500, 0)
|
||||
|
||||
[node name="Pivot" type="Node2D" parent="Skeleton2D/Torso/Head" unique_id=780672247]
|
||||
|
||||
[node name="RemoteTransform2D" type="RemoteTransform2D" parent="Skeleton2D/Torso/Head/Pivot" unique_id=396112729]
|
||||
position = Vector2(0.050354004, -72.00006)
|
||||
remote_path = NodePath("../../../../../Body/Head")
|
||||
update_scale = false
|
||||
|
||||
[node name="LeftUpperArm" type="Bone2D" parent="Skeleton2D/Torso" unique_id=1840957808]
|
||||
position = Vector2(0, -248)
|
||||
rotation = 0.047700156
|
||||
|
||||
Reference in New Issue
Block a user