public Bullet(Vector3 position, Quaternion orientation, Vector3 velocity, BulletData data) { Position = position; Orientation = orientation; Velocity = velocity; Data = data; Sector.Redria.Bullets.Add(this); }
public void BulletStrike(BulletData bullet, float velocity) { var damage = bullet.Power;// * (velocity / bullet.MuzzleVel); TakeDamage(damage); }