helpCal3D - 3d character animation library - Support: sr #2523, set bone rotation

 
 
Show feedback again

sr #2523: set bone rotation

Submitted by:  None
Submitted on:  Tue 23 Mar 2010 11:18:15 AM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 1 - WishStatus: None
Privacy: PublicAssigned to: None
Originator Email: -unavailable-Open/Closed: Open
Operating System: Microsoft Windows

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 23 Mar 2010 11:18:15 AM UTC, original submission:

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 correctly done (I can see the change).

When instead I set the new rotation values on CalBone, no change is done.

This is my piese of code
[code]

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

[/code]

I am not sure that I posted the question in the right place, I still hope to get a hint from you.

Thank you in advance,
D.M.

Anonymous

 

(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

No Changes Have Been Made to This Item
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup