Filter Objects of coincident line

sky
Posts: 3
Joined: Mon May 12, 2014 7:32 am

Filter Objects of coincident line

Post by sky »

I create two btConvexHullShape shapes,here are the two shapes by debug draw:
1111.png
they are separated as yellow color and blue color.
Bullet detects collision on the border, but this is not what I want,
here are the codes of collision world:
_collisionConfiguration = new btDefaultCollisionConfiguration();
_dispatcher = new btCollisionDispatcher(_collisionConfiguration);
_solver = new btSequentialImpulseConstraintSolver;
_broadphase = new btDbvtBroadphase();
_collisionWorld = new btDiscreteDynamicsWorld(_dispatcher, _broadphase, _solver , _collisionConfiguration);
_debugDrawer = new CollisionDebugDrawer();
_collisionWorld->setDebugDrawer(_debugDrawer);
if two shapes have a coincident border, I don't want they have a collision result.how should I do to avoid this?
You do not have the required permissions to view the files attached to this post.