applied patches from Marten (Starbreeze) for per-rigidbody sleeping thresholds, access to constraint references.

Also added assert, to make sure users don't delete rigidbodies while constraints point to them.
This commit is contained in:
ejcoumans
2007-07-26 00:16:06 +00:00
parent 9803a78140
commit bf967a458a
3 changed files with 39 additions and 4 deletions

View File

@@ -22,6 +22,7 @@ btCollisionObject::btCollisionObject()
m_activationState1(1),
m_deactivationTime(btScalar(0.)),
m_userObjectPointer(0),
m_internalOwner(0),
m_hitFraction(btScalar(1.)),
m_ccdSweptSphereRadius(btScalar(0.)),
m_ccdSquareMotionThreshold(btScalar(0.)),