#1
|
|||
|
|||
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 Code:
skeleton = calModel->getSkeleton(); bone = skeleton->getBone(boneID) bone->setRotation(prevQuat * newQuat); bone->calculateState(); //skeleton->calculateState(); D.M. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Unable to perform 360 rotation using vizact.spinto | vijaykiran | Vizard | 2 | 09-29-2009 09:39 AM |
Problems with getting head bone rotation right | Enlil | Vizard | 2 | 02-13-2009 11:24 AM |
Incampatible CAL3D files | luakt | Vizard | 4 | 09-15-2008 12:28 AM |
importing avatars with cal3d | marcoleon | Vizard | 15 | 04-28-2006 05:48 PM |
Using Cal3d Avatars | zachhendershot | Vizard | 4 | 01-27-2004 11:26 AM |