Jump to content
  • Advertisement
Sign in to follow this  
The Vaseline Slug

Set Maya joint angles with Matrix33

This topic is 2497 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi,

I export my models / rigs from maya to a custom format and when exporting the joints I use OpenMaya to give a Matrix33 of the angle.

Now I also have a tool that I made that will produce a .ma (maya ascii) file so that is can de reopend in Maya again.

The problem is that Maya will only take 3 doubles as the angles. (from what can see)


So I thought it must just take euler angles, but my conversion dose not give me the original angles.

Matrix:

X 0.172971, -0.890325, 0.421191
Y 0.924158, -0.001175, -0.382009
Z 0.340607, 0.455324, 0.822598


Angles I want to get back to:

(xyz) 0.0 -1.198 0.0

Any guidence on this would be great !

Note: I have done a fare bit of reasearch to try get this solved, but still at a loss.

Tom.

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!