Avoid collision detection/response between anchored (static) soft body cluster and a static/kinematic rigid body

This commit is contained in:
erwin.coumans
2009-08-31 04:35:06 +00:00
parent 2ef7c1a457
commit 2d1777c899
3 changed files with 17 additions and 4 deletions

View File

@@ -310,11 +310,13 @@ public:
btScalar m_matching;
btScalar m_maxSelfCollisionImpulse;
btScalar m_selfCollisionImpulseFactor;
bool m_containsAnchor;
bool m_collide;
int m_clusterIndex;
Cluster() : m_leaf(0),m_ndamping(0),m_ldamping(0),m_adamping(0),m_matching(0)
,m_maxSelfCollisionImpulse(100.f),
m_selfCollisionImpulseFactor(0.01f)
m_selfCollisionImpulseFactor(0.01f),
m_containsAnchor(false)
{}
};
/* Impulse */