Fix the max_force_direction magnitude

This commit is contained in:
Sébastien Crozet
2022-07-04 16:53:38 +02:00
parent 6f8fddc70c
commit 145ab3013e

View File

@@ -170,7 +170,6 @@ impl ContactForceEvent {
// because its an input of this function already
// assumed to be a force instead of an impulse.
result.total_force *= inv_dt;
result.max_force_direction *= inv_dt;
result.max_force_magnitude *= inv_dt;
result
}