code-google-com / bullet

Automatically exported from code.google.com/p/bullet
0 stars 0 forks source link

Maya plugin does not export node names. #362

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a scene with a rigid body.
2. Export the scene.
3. Load the physics scene with btBulletWorldImporter.

I had expected, when using btBulletWorldImporter::getRigidBodyByName I 
would get a pointer to the rigid body but because the names are not 
exported I just get a null pointer.

Bullet version is 2.76, Maya version is 2009x64 and my OS is openSUSE 11.2 
amd64.

I've attached a patch where the MPxNode is assigned as user data to the 
btRigidNode and on export the name is added with 
btDefaultSerializer::registerNameForPointer.

Without this it seems there is no other way of matching up a btRigidBody 
with other game data.

Original issue reported on code.google.com by dvdz...@googlemail.com on 12 Mar 2010 at 6:35

Attachments:

GoogleCodeExporter commented 9 years ago
Please grab the Dynamica MayaPlugin from 
dynamica.googlecode.com

the one in Bullet/Extras/MayaPlugin of the 
bullet.googlecode.com is out-of-date, and we need to remove 
it.

Thanks,
Erwin

Original comment by erwin.coumans on 12 Mar 2010 at 10:50

GoogleCodeExporter commented 9 years ago
Maya Plugin was removed here, with a notice to the new repository:

http://code.google.com/p/bullet/source/detail?r=2056

Original comment by erwin.coumans on 12 Mar 2010 at 7:34