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?
btConvexHullShape vs btConvexTriangleMeshShape
-
- Posts: 41
- Joined: Fri Apr 29, 2016 2:41 pm
Re: btConvexHullShape vs btConvexTriangleMeshShape
Code: Select all
convexHullShape->initializePolyhedralFeatures();