Page 1 of 1

btConvexHullShape vs btConvexTriangleMeshShape

Posted: Wed Jun 21, 2017 12:07 pm
by TonyS
I create a box in maya (I do not put it inside a Cube intentionally "Stand-In" option in Maya is set to None on purpose)

When I use btConvexHullShape, in DebugDraw it shows the box as if some of it's vertices are missing.
If I comment out that and create a btConvexTriangleMeshShape, it draws it perfectly.

As recommended, I want to use btConvexHullShape but it doesn't look right..
Where can be the problem?

Re: btConvexHullShape vs btConvexTriangleMeshShape

Posted: Thu Jun 22, 2017 3:52 pm
by erbisme4@yahoo.com

Code: Select all

convexHullShape->initializePolyhedralFeatures();