Use RMC mob collision values (#36851)
Use RMC movement values General feedback was it's too slow to push through people but this still prevents stacking so.
This commit is contained in:
@@ -284,6 +284,7 @@ public abstract class SharedMobCollisionSystem : EntitySystem
|
||||
mobMovement *= modifier;
|
||||
|
||||
var speedReduction = 1f - entity.Comp1.MinimumSpeedModifier;
|
||||
speedReduction /= _penCap / penDepth;
|
||||
var speedModifier = Math.Clamp(
|
||||
1f - speedReduction * modifier,
|
||||
entity.Comp1.MinimumSpeedModifier, 1f);
|
||||
|
||||
Reference in New Issue
Block a user