WorldViz User Forum

WorldViz User Forum (
-   Vizard (
-   -   set bone rotation - cal3d (

munteanu24d 03-23-2010 04:25 AM

set bone rotation - cal3d
First of all, I am not sure that I posted the question in the right place, I still hope to get a hint from you.

I have a cal3d rigid model and i try to set new rotation values on it's bones.
When I set the rotation values directly on CoreBone, the rotation is correctly done (I can see the change).
When instead I set the new rotation values on CalBone, no change is done.
This is my piece of code

skeleton = calModel->getSkeleton();
bone = skeleton->getBone(boneID)
bone->setRotation(prevQuat * newQuat);

Thank you in advance,

All times are GMT -7. The time now is 03:49 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC