Increase the max amount of drag that can be applied in one tick

This commit is contained in:
Ludvig Böklin 2021-05-15 14:36:53 +02:00
parent aa06972a95
commit 12f546a075

View File

@ -103,7 +103,7 @@ fn integrate_forces(
if new_v.dot(vel.0) < 0.0 {
// Multiply by a factor to prevent full stop, as this can cause things to get
// stuck in high-density medium
vel.0 -= vel.0.projected(&impulse) * 0.7;
vel.0 -= vel.0.projected(&impulse) * 0.9;
} else {
vel.0 = new_v;
}