Skip to content

Commit 82380f1

Browse files
authored
Replace Position in IK bones with Rotation (blueskythlikesclouds#72)
This won't affect data
1 parent eb01a71 commit 82380f1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎MikuMikuLibrary/Motions/Motion.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ public MotionBinding Bind(Skeleton skeleton = null,
223223
case BoneType.ArmIKRotation:
224224
case BoneType.LegIKRotation:
225225
boneBinding.IK = BindNext();
226-
boneBinding.Position = BindNext();
226+
boneBinding.Rotation = BindNext();
227227
break;
228228
}
229229

‎MikuMikuLibrary/Motions/MotionBinding.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public void Unbind(Skeleton skeleton, MotionDatabase motionDatabase = null)
4343
case BoneType.ArmIKRotation:
4444
case BoneType.LegIKRotation:
4545
UnbindIK(boneBinding);
46-
UnbindPosition(boneBinding);
46+
UnbindRotation(boneBinding);
4747
break;
4848
}
4949
}

0 commit comments

Comments
 (0)