alternative joint manipulation then setLocalRot()?
madheadcrash
Posts: 0
Hello,
is there an other way to manipulate joints than the function setLocalRot() / setWSRot() ?
Is there a way to set directly maybe a value e.g. shoulder twist?
With the documentation I got only to this solution:
QString lShoulder = "lShldr";
DzNode *nodeLeft = dzScene->findNodeByLabel(lShoulder);
DzRotationOrder order(0,1,0);
DzVec3 rotVecL(20.0f*DZ_FLT_DEG_TO_RAD,-20.0f*DZ_FLT_DEG_TO_RAD,-25.0f*DZ_FLT_DEG_TO_RAD);
DzQuat locRot3L(order,rotVecL);
nodeLeft->setLocalRot(locRot3L);
Post edited by madheadcrash on
Comments
Do you mean, like setting values on the properties displayed to the user in the Parameters/Posing pane?
-Rob
Yes, that was it what I searched for. Thanks a lot!