Code: Select all
00171 virtual ~btRigidBody()
00172 {
00173 //No constraints should point to this rigidbody
00174 //Remove constraints from the dynamics world before you delete the related rigidbodies.
00175 btAssert(m_constraintRefs.size()==0);
00176 }
Why would changing the flag between true & false set off the error?
Any ideas? Thanks.