View Single Post
Old 03-23-2010, 04:25 AM
munteanu24d munteanu24d is offline
Join Date: Mar 2010
Posts: 1
Question 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,
Reply With Quote