I working with a 3d skeleton. When ever I set the yaw, pitch and roll for a bone, it does so in the bones local space.
For example, if a bones parent is not rotated, and I set the bones roll to 45 degrees, then its roll is 45 degrees.
But if the parent is already at some angle != 0, then the roll of the bone changes to something else.
How can I set the yaw, pitch and roll of the bone in world space ? Rather than relative to parent ?
I am using cocos2d-x v3
Aucun commentaire:
Enregistrer un commentaire