initialize m_islandTag1/m_companionId, thanks Marten
This commit is contained in:
@@ -26,7 +26,9 @@ btCollisionObject::btCollisionObject()
|
|||||||
m_hitFraction(btScalar(1.)),
|
m_hitFraction(btScalar(1.)),
|
||||||
m_ccdSweptSphereRadius(btScalar(0.)),
|
m_ccdSweptSphereRadius(btScalar(0.)),
|
||||||
m_ccdSquareMotionThreshold(btScalar(0.)),
|
m_ccdSquareMotionThreshold(btScalar(0.)),
|
||||||
m_checkCollideWith(false)
|
m_checkCollideWith(false),
|
||||||
|
m_islandTag1(-1),
|
||||||
|
m_companionId(-1)
|
||||||
{
|
{
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -56,3 +58,4 @@ void btCollisionObject::activate(bool forceActivation)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user