Game Development Reference
In-Depth Information
9. Then, we apply it by using setUserTransformsWorld . Finally, we give the
control of the bones back to the system using the following code:
leftEye.setUserTransformsWorld(leftEye.getModelSpacePosition(),
q);
rightEye.setUserTransformsWorld(rightEye.getModelSpacePosition(),
q);
leftEye.setUserControl(false);
rightEye.setUserControl(false);
Search WWH ::




Custom Search