# Set Maya joint angles with Matrix33

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

## 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 on other sites
Ok I manged to fix it, the problem was I was not multiplying my output by "180 / PI"

Servers me right for doing it at 6-7am

Solved !

• ### Game Developer Survey

We are looking for qualified game developers to participate in a 10-minute online survey. Qualified participants will be offered a \$15 incentive for your time and insights. Click here to start!

• 16
• 15
• 9
• 11
• 15