void reset( Fixture fA, int indexA, Fixture fB, int indexB )
{
enabled = true;
isTouching = false;
islandFlag = false;
filterFlag = false;
toiFlag = false;
fixtureA = fA;
fixtureB = fB;
childIndexA = indexA;
childIndexB = indexB;
manifold.pointCount = 0;
_nodeA.contact = null;
_nodeA.prev = null;
_nodeA.next = null;
_nodeA.other = null;
_nodeB.contact = null;
_nodeB.prev = null;
_nodeB.next = null;
_nodeB.other = null;
_toiCount = 0;
//FPE: We only set the friction and restitution if we are not destroying the contact
if( fixtureA != null && fixtureB != null )
{
friction = Settings.mixFriction( fixtureA.friction, fixtureB.friction );
restitution = Settings.mixRestitution( fixtureA.restitution, fixtureB.restitution );
}
tangentSpeed = 0;
}