Buff bullet impulses a wee bit (#14858)

This commit is contained in:
Kara
2023-03-25 18:55:24 -07:00
committed by GitHub
parent 1bccbf4013
commit 2ba333cb55

View File

@@ -402,7 +402,7 @@ public abstract partial class SharedGunSystem : EntitySystem
var toMap = toCoordinates.ToMapPos(EntityManager, Transform);
var shotDirection = (toMap - fromMap).Normalized;
const float impulseStrength = 5.0f;
const float impulseStrength = 25.0f;
var impulseVector = shotDirection * impulseStrength;
Physics.ApplyLinearImpulse(user, -impulseVector, body: userPhysics);
}