fixed global to local position method

This commit is contained in:
devZoGok
2021-10-19 19:06:41 +03:00
parent e07f30e3f7
commit d430bc6fc0
3 changed files with 6 additions and 2 deletions
+2
View File
@@ -108,6 +108,8 @@ namespace vb01{
rotAxis = Vector3::VEC_I;
}
//rotAxis = (boneChain[i]->getInitAxis(0) * rotAxis.x + boneChain[i]->getInitAxis(1) * rotAxis.y + boneChain[i]->getInitAxis(2) * rotAxis.z).norm();
boneAngles[i] = angle;
axis[i] = rotAxis;
}