Fix reported contact impulse in the contact force event
Address https://github.com/dimforge/rapier.js/issues/261
This commit is contained in:
committed by
Sébastien Crozet
parent
59dc9bfe00
commit
09af4313fa
@@ -201,7 +201,7 @@ impl GenericTwoBodyConstraintBuilder {
|
||||
gcross2,
|
||||
rhs: na::zero(),
|
||||
rhs_wo_bias: na::zero(),
|
||||
total_impulse: na::zero(),
|
||||
impulse_accumulator: na::zero(),
|
||||
impulse: na::zero(),
|
||||
r,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user