Page 1 of 1

Problem with units and Dynamica plugin (Maya 2010)

Posted: Thu May 27, 2010 3:35 am
by Travis
Hi,

I think there is something strange going on with the units in Maya.


I set the units to meters in Maya.
Then I have a rigid-body-sphere placed at 1.588, 2.672, -0.726.

I export the physics data to .Bullet format.
Then I used the "Bullet Physics Editor" for Windows (OpenGLEditorWindows.exe) to open this file.

In that file, when I select this object, the world transform is showing as: 158.8, 267.2, -72.6

What is happening here?
It looks like the units are getting converted from meters to centimeters.


If I set the units to centimeters in Maya, then the exported data is right.


Thanks

Re: Problem with units and Dynamica plugin (Maya 2010)

Posted: Sat Jun 26, 2010 10:07 pm
by youen
I know nothing about the bullet exporter, but I know Maya internaly stores all values in centimeters. When you set the unit to meters, it only changes the way numbers are displayed, the actual values do not change. I guess the exporter does not handle this correctly, or misses a setting to specify a scale factor.