remove low speed clamp

This commit is contained in:
Vinzenz Schroeter 2024-05-08 01:16:18 +02:00
parent a0b25b9cfb
commit eb999b0d1a

View file

@ -24,8 +24,7 @@ internal sealed class MoveBullets(
bullet.Rotation += difference * inertiaFactor;
}
bullet.Speed = double.Clamp(bullet.Speed * (1 + (bullet.Stats.Acceleration * delta.TotalSeconds)), 0d,
MapService.TileSize * 10);
bullet.Speed += (bullet.Stats.Acceleration * delta.TotalSeconds);
var speed = bullet.Speed * delta.TotalSeconds;
var angle = bullet.Rotation * 2 * Math.PI;