Problem with units and Dynamica plugin (Maya 2010)

Physics APIs, Physics file formats, Maya, Max, XSI, Cinema 4D, Lightwave, Blender, thinkingParticles™ and other simulation tools, exporters and importers
Travis
Posts: 5
Joined: Thu May 27, 2010 3:26 am

Problem with units and Dynamica plugin (Maya 2010)

Post 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
youen
Posts: 3
Joined: Sat Jun 19, 2010 12:10 pm

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

Post 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.