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
+4
View File
@@ -121,6 +121,10 @@ namespace vb01{
yAxis.z = -yAxis.z;
swap(zAxis.y, zAxis.z);
zAxis.z = -zAxis.z;
swap(pos.y, pos.z);
pos.z = -pos.z;
/*
*/
}
else
pos = pos + Vector3(0, ((Bone*)parent)->getLength(), 0);