pico wrote:
how is the "Option for one-shot multiple-contact generation" used?
A convenience method for btDefaultCollisionConfiguration has just been added in the latest SVN trunk, so it will be available in the next/final Bullet 2.74 release:
Code:
///collision configuration contains default setup for memory, collision setup
m_collisionConfiguration = new btDefaultCollisionConfiguration();
m_collisionConfiguration->setConvexConvexMultipointIterations(3);
Until this convenience method has been added, please use the following snippet. Note that this feature decreases performance, so it is switched off by default.
Code:
btConvexConvexAlgorithm::CreateFunc* convexConvex = (btConvexConvexAlgorithm::CreateFunc*)m_collisionConfiguration->getCollisionAlgorithmCreateFunc(CONVEX_SHAPE_PROXYTYPE,CONVEX_SHAPE_PROXYTYPE);
convexConvex->m_numPerturbationIterations = 3;
Quote:
I just tried the Bullet demos in single precision mode. The picking issues are gone, so it seems that the demos are only broken in double precision mode!
Picking seems to work fine under Windows 32bit, compiled using double-precision. Did you try a full clean rebuild? We'll do some testing of Linux double-precision built, you can track progress on the
issue here.
Thanks for the feedback,
Erwin