limited IK calculation

This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent de8a6fb1aa
commit 9eb87999cf
4 changed files with 71 additions and 17 deletions
+7 -1
View File
@@ -99,9 +99,15 @@ namespace vb01{
break;
}
}
/*
swap(currentPos.y, currentPos.z);
currentPos.z = -currentPos.z;
swap(currentRot.y, currentRot.z);
currentRot.z = -currentRot.z;
*/
channelBone->setPosePos(currentPos);
//channelBone->setPoseRot(currentRot);
channelBone->setPoseRot(currentRot);
//channelBone->setPoseScale(currentScale);
}
}