make relative contact breaking threshold optional (use dispatcher->setDispatcherFlags(0) to turn off feature)

This commit is contained in:
erwin.coumans
2009-12-13 20:22:21 +00:00
parent 8444d0e5c4
commit 0a6f7b271d
4 changed files with 29 additions and 20 deletions

View File

@@ -48,7 +48,7 @@ public:
///getAngularMotionDisc returns the maximus radius needed for Conservative Advancement to handle time-of-impact with rotations.
virtual btScalar getAngularMotionDisc() const;
virtual btScalar getContactBreakingThreshold() const;
virtual btScalar getContactBreakingThreshold(btScalar defaultContactThresholdFactor) const;
///calculateTemporalAabb calculates the enclosing aabb for the moving object over interval [0..timeStep)