81
81
btManifoldPoint newPt(localA,localB,normalOnBInWorld,depth);
83
85
int insertIndex = m_manifoldPtr->getCacheEntry(newPt);
85
87
newPt.m_combinedFriction = calculateCombinedFriction(m_body0,m_body1);
86
88
newPt.m_combinedRestitution = calculateCombinedRestitution(m_body0,m_body1);
88
106
//User can override friction and/or restitution
89
107
if (gContactAddedCallback &&
90
108
//and if either of the two bodies requires custom material