SOLVED How to get proper convex shapes?

razi

06-06-2011 19:36:44

Hi, what is the best way to get convex shapes for my dynamic actors? When I used OgreNewt a while ago it could automaticly generate convex shapes from concave models on demand. Here it looks like the cooking fails unless I provide correct shape. I tried 3D studio physx plugin which could quickly generate convex shapes, but it could only export the whole scene as one file. Besides, I dont want to model every movable object twice, once for appearance and once with convex shape, it would take too much time and make chaos in the scene files. Isnt there anywhere code to generate convex shape?
Thank you.

razi

07-06-2011 12:14:25

Alright, I found out about NX_CF_COMPUTE_CONVEX flag, it gives strange visual debugger results but seems like it works, so hopefully Ill be fine with it :) .