Search found 3 matches
- Wed Mar 07, 2018 5:09 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Convex Hull Penetration
- Replies: 1
- Views: 1949
Re: Convex Hull Penetration
My code for creating convex hulls: // p->count/3 == number of vertices btConvexHullShape* convex = new btConvexHullShape(&points[0].getX(), p->count/3); convex->optimizeConvexHull(); convex->initializePolyhedralFeatures(1); convex->setMargin(margin); // Later in the code ... // body is btRigidBo...
- Wed Mar 07, 2018 4:32 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Convex Hull Penetration
- Replies: 1
- Views: 1949
Convex Hull Penetration
The btConvexHullShape objects that I create are penetrating other rigid bodies and sinking into their interiors. I have tested this with the btBoxShape and btStaticPlaneShape and got the same result. The below images show how I created a simple tetrahedron with coordinates <0,0,0,>, <1,0,0>, <0,1,0>...
- Wed Feb 28, 2018 4:01 pm
- Forum: General Bullet Physics Support and Feedback
- Topic: Soft Body Collision Bitmasks
- Replies: 0
- Views: 2456
Soft Body Collision Bitmasks
I'm trying to get a better understanding of each of the different collision settings for the btSoftBody type by applying the fCollision bitmasks to softBody->m_cfg.collisions; but I really can't get a clear idea of what these different options do because the documentation here: http://bulletphysics....