xiangaodielian / bullet

Automatically exported from code.google.com/p/bullet
Other
0 stars 0 forks source link

Linear factor and angular factor is applied multiple times. #776

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago

Right now, linear factor and angular factor is applied multiple times, this 
will be an issue if the factor is not 0 or 1 (unlikely, but it can happen).

bodyA->internalApplyImpulse(solverConstraint.m_contactNormal1*bodyA->internalGet
InvMass()*rb0->getLinearFactor(),solverConstraint.m_angularComponentA,solverCons
traint.m_appliedImpulse);

while inside internalApplyImpulse the m_linearFactor is also applied.

We should fix it.

Original issue reported on code.google.com by erwin.coumans on 4 Dec 2013 at 12:03

GoogleCodeExporter commented 9 years ago
moved to https://github.com/bulletphysics/bullet3/issues/71

Original comment by erwin.coumans on 30 Mar 2014 at 5:24