Skip to content

Commit 8823628

Browse files
authored
Merge pull request #495 from TwistedTwigleg/IK_Demo_Godot_3_2_2_Fix
Godot 3.2 IK demo SkeletonIK error fix
2 parents ba44700 + 1ad95a4 commit 8823628

File tree

1 file changed

+24
-24
lines changed

1 file changed

+24
-24
lines changed

3d/ik/skeleton_ik.tscn

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -35,30 +35,6 @@ material/0 = SubResource( 2 )
3535
[node name="DirectionalLight" type="DirectionalLight" parent="."]
3636
transform = Transform( 0.56827, 0.673454, -0.472789, 0, 0.574581, 0.818448, 0.822842, -0.465099, 0.326517, -9.77531, 11.5204, 11.766 )
3737

38-
[node name="GodotBattleBot" parent="." instance=ExtResource( 4 )]
39-
40-
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton" index="0"]
41-
material/0 = ExtResource( 6 )
42-
material/1 = ExtResource( 7 )
43-
44-
[node name="SkeletonIK_Left" type="SkeletonIK" parent="GodotBattleBot/Armature/Skeleton" index="1"]
45-
process_priority = 1
46-
root_bone = "Left_UpperArm"
47-
tip_bone = "Left_Hand"
48-
use_magnet = true
49-
magnet = Vector3( 8, 6, 0 )
50-
target_node = NodePath("../../../../Camera/Targets/TargetLeft")
51-
script = ExtResource( 1 )
52-
53-
[node name="SkeletonIK_Right" type="SkeletonIK" parent="GodotBattleBot/Armature/Skeleton" index="2"]
54-
process_priority = 1
55-
root_bone = "Right_UpperArm"
56-
tip_bone = "Right_Hand"
57-
use_magnet = true
58-
magnet = Vector3( -8, 6, 0 )
59-
target_node = NodePath("../../../../Camera/Targets/TargetRight")
60-
script = ExtResource( 1 )
61-
6238
[node name="Camera" type="Camera" parent="."]
6339
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 11.5, 11 )
6440
fov = 74.0
@@ -88,6 +64,30 @@ transform = Transform( -0.179447, 0.98366, -0.0145678, 0.981822, 0.178142, -0.06
8864
[node name="TargetRight" type="Position3D" parent="Camera/Targets"]
8965
transform = Transform( -0.0217688, 0.998559, -0.0490576, 0.992503, 0.0274873, 0.119085, 0.120262, -0.0460975, -0.991671, -0.683053, 0.0251284, -0.811513 )
9066

67+
[node name="GodotBattleBot" parent="." instance=ExtResource( 4 )]
68+
69+
[node name="godot_battle_bot" parent="GodotBattleBot/Armature/Skeleton" index="0"]
70+
material/0 = ExtResource( 6 )
71+
material/1 = ExtResource( 7 )
72+
73+
[node name="SkeletonIK_Left" type="SkeletonIK" parent="GodotBattleBot/Armature/Skeleton" index="1"]
74+
process_priority = 1
75+
root_bone = "Left_UpperArm"
76+
tip_bone = "Left_Hand"
77+
use_magnet = true
78+
magnet = Vector3( 8, 6, 0 )
79+
target_node = NodePath("../../../../Camera/Targets/TargetLeft")
80+
script = ExtResource( 1 )
81+
82+
[node name="SkeletonIK_Right" type="SkeletonIK" parent="GodotBattleBot/Armature/Skeleton" index="2"]
83+
process_priority = 1
84+
root_bone = "Right_UpperArm"
85+
tip_bone = "Right_Hand"
86+
use_magnet = true
87+
magnet = Vector3( -8, 6, 0 )
88+
target_node = NodePath("../../../../Camera/Targets/TargetRight")
89+
script = ExtResource( 1 )
90+
9191
[node name="Control" type="Control" parent="."]
9292
anchor_right = 1.0
9393
anchor_bottom = 1.0

0 commit comments

Comments
 (0)