I see something like this:
Code: Select all
pt->m_appliedImpulse = solveManifold.m_appliedImpulse;
pt->m_appliedImpulseLateral1 = m_tmpSolverFrictionConstraintPool[solveManifold.m_frictionIndex].m_appliedImpulse;
pt->m_appliedImpulseLateral1 = m_tmpSolverFrictionConstraintPool[solveManifold.m_frictionIndex+1].m_appliedImpulse;
m_appliedImpulseLateral1 value is overridden in the 3rd statement? Is this intentional?.... or Should it actualy be m_appliedImpulseLateral2?
Thanks.