add an update revision, to make it easier to sync with Bullet 3.x

add set/getUserindex in addition to set/getUserPointer
This commit is contained in:
erwin.coumans@gmail.com
2013-06-19 01:00:42 +00:00
parent 92eed617cd
commit 4ed87140fc
3 changed files with 38 additions and 3 deletions

View File

@@ -38,7 +38,8 @@ btCollisionObject::btCollisionObject()
m_hitFraction(btScalar(1.)),
m_ccdSweptSphereRadius(btScalar(0.)),
m_ccdMotionThreshold(btScalar(0.)),
m_checkCollideWith(false)
m_checkCollideWith(false),
m_updateRevision(0)
{
m_worldTransform.setIdentity();
}