Do I have to use Bleeding when use ConvexShape?

kidcdf

10-05-2008 13:54:53

Now I am using NxOgre 0.9-38, when I create body with
"new NxOgre::ConvexShape("cube.1m.mesh")
//cube.1m.mesh is from cake,everything is ok.

but the app crash when cooking my own mesh:
new NxOgre::ConvexShape("mine.mesh")

but these codes are ok:
new NxOgre::TraingleShape("mine.mesh")

I searched the forum,and find the same problem:
http://www.ogre3d.org/phpBB2addons/view ... onvexshape

Is the only solution to setup Bleeding?

betajaen

10-05-2008 14:26:36

0.9 has always been able to use Convex shapes.

But the convex cooker is quite picky; you can't have duplicate vertices, and there is a limit (about 200 max). Which is probably it doesn't work for you.

kidcdf

10-05-2008 15:21:55

can I change this limit in Nxogre source code, because somtimes I have to use complicated model

betajaen

10-05-2008 15:36:06

No. It's a PhysX limitation. If you have a really complicated model, you don't know what a convex shape really is. You'll have to reduce the vertex count or come up with some alternative; a compound shape for example.