Added method to collect all persistent contact manifolds, given a btBroadphasePair (collision algorithm)
virtual void getAllContactManifolds(btManifoldArray& manifoldArray) See Demos/CharacterDemo/CharacterDemo.cpp for example usage of getAllContactManifolds Added btDbvtBroadphase to btBulletCollisionCommon.h headerfile Enable soft body vs concave (albeit slow) Improved contact point debug rendering (moved from constraint solver into debugDrawWorld)
This commit is contained in:
1 parent
6141a55f09
commit
f8e5481612
37 files changed
+889
-633
No files matched your search
@@ -68,7 +68,7 @@ void GLDebugDrawer::reportErrorWarning(const char* warningString)
|
||||
|
||||
void GLDebugDrawer::drawContactPoint(const btVector3& pointOnB,const btVector3& normalOnB,btScalar distance,int lifeTime,const btVector3& color)
|
||||
{
|
||||
if (m_debugMode & btIDebugDraw::DBG_DrawContactPoints)
|
||||
|
||||
{
|
||||
btVector3 to=pointOnB+normalOnB*distance;
|
||||
const btVector3&from = pointOnB;
|
||||
|
||||
Reference in new issue
Block a user