Warmstarting negations fed to internalApplyImpulse cancel out(for bodyB) #3724
TrianglesPCT
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In setupContactConstraint the warm starting for for body B negates a bunch of parameters..
bodyB->internalApplyImpulse(-solverConstraint.m_contactNormal2 * bodyB->internalGetInvMass(), -solverConstraint.m_angularComponentB, -(btScalar)solverConstraint.m_appliedImpulse);
But these negations all end up canceling out, and produce the same result as if no negations had been applied
Beta Was this translation helpful? Give feedback.
All reactions