We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ebab52 commit f13158dCopy full SHA for f13158d
src/dynamics/solver/contact/tangent_part.rs
@@ -139,7 +139,7 @@ impl ContactTangentPart {
139
// This is needed for solving the two tangent directions simultaneously.
140
// TODO. Derive and explain the math for this, or consider an alternative approach,
141
// like using the Jacobians to compute the actual effective mass matrix.
142
- part.effective_inverse_mass[2] = 2.0 * (i1_rt11.dot(i1_rt21) + i2_rt12.dot(i2_rt22));
+ part.effective_inverse_mass[2] = 2.0 * (rt11.dot(i1_rt21) + rt12.dot(i2_rt22));
143
}
144
145
part
0 commit comments