When I read btSubsimplexConvexCast that implement Gino's GJK convex sweep algo. I found something confused me the code Line is:
It seems strange because this is advanced the configration space's origin,but why w is still in the old configration space. Should we need to translate w in to the new configration space's that is w = w+(lambda * (lina-linb) something like this?lambda = lambda - VdotW / VdotR;
//interpolate to next lambda
// x = s + lambda * r;
interpolatedTransA.getOrigin().setInterpolate3(fromA.getOrigin(),toA.getOrigin(),lambda);
interpolatedTransB.getOrigin().setInterpolate3(fromB.getOrigin(),toB.getOrigin(),lambda);
//m_simplexSolver->reset();
//check next line
w = supVertexA-supVertexB;
lastLambda = lambda;
n = v;
hasResult = true;
}