Represent a mesh created by maya in Bullet physics

Please don't post Bullet support questions here, use the above forums instead.
Anand
Posts: 12
Joined: Tue Apr 19, 2011 6:02 am

Represent a mesh created by maya in Bullet physics

Post by Anand »

Can anyone tell how to represent a polymesh object created in maya directly to bullet physics. Is there any api like trimeshconverter for maya meshes?
donkeystalk
Posts: 3
Joined: Mon Apr 25, 2011 1:53 pm

Re: Represent a mesh created by maya in Bullet physics

Post by donkeystalk »

If you take a look at the bullet API, there is a chart for the breakdown on Collision Objects. I'm guessing you want the object to be movable, and it's a mesh of triangles, so I'm guessing you want btConvexHullShape.
Anand
Posts: 12
Joined: Tue Apr 19, 2011 6:02 am

Re: Represent a mesh created by maya in Bullet physics

Post by Anand »

donkeystalk wrote:If you take a look at the bullet API, there is a chart for the breakdown on Collision Objects. I'm guessing you want the object to be movable, and it's a mesh of triangles, so I'm guessing you want btConvexHullShape.

Thank You for the information
Anand
Posts: 12
Joined: Tue Apr 19, 2011 6:02 am

Re: Represent a mesh created by maya in Bullet physics

Post by Anand »

Hi,
Any how I was able to set a bullet world with maya meshes, But its telling collision eventhough there is no collision.

I used a a cylinder and a shell, some times even though it penetrates throgh the other no collision is told. While moving the other just a bit tells collision eventhough der is no collision.

Can tell what is going wrong.can u give a remedy?