mirror of
https://gitlab.com/veloren/veloren.git
synced 2024-08-30 18:12:32 +00:00
Increase the max amount of drag that can be applied in one tick
This commit is contained in:
parent
aa06972a95
commit
12f546a075
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user