Hi,
I'm currently deciding which of the convex hull collision shapes to use for my objects, and have surmised the following:
* btConvexHullShape is the most efficient
* btConvexTriangleMeshShape is less efficient, but doesn't duplicate triangle data - usage seems to be discouraged!
* btConvexPointCloudShape also doesn't duplicate the vertices, but (I'm guessing) is more efficient that btConvexTriangleMeshShape
Is that correct? If so, is there any reason to use btConvexHullShape, or btConvexTriangleMeshShape, rather than btConvexPointCloudShape?
Thanks
Kate
Is btConvexPointCloudShape the best option?
-
- Posts: 41
- Joined: Thu Jan 08, 2009 11:20 am
- Location: London, UK
-
- Site Admin
- Posts: 4221
- Joined: Sun Jun 26, 2005 6:43 pm
- Location: California, USA
Re: Is btConvexPointCloudShape the best option?
In general the btConvexHullShape is the best choice.
btConvexPointCloudShape is some experimental class used in some SPU refactoring, and btConvexTriangleMeshShape is a helper class with less performance than btConvexHullShape .
Hope this helps,
Erwin
btConvexPointCloudShape is some experimental class used in some SPU refactoring, and btConvexTriangleMeshShape is a helper class with less performance than btConvexHullShape .
Hope this helps,
Erwin