public void Fire() { BaseBullet baseBullet = new BaseBullet(new Vector3(ParentShip.Rotation.X + Rotation.X, 0, ParentShip.Rotation.Z + Rotation.Z)); //Matrix rotationMatrix = Matrix.CreateFromYawPitchRoll(ParentShip.Rotation.Y, ParentShip.Rotation.X, ParentShip.Rotation.Z); baseBullet.Position = ParentShip.TotalPosition; //+ Vector3.Transform(Position, rotationMatrix); _gameState.EnemyBullets.Add(baseBullet); }
public IEnumerable<Resource> ResourcePaths() { BaseBullet baseBullet = new BaseBullet(); return baseBullet.ResourcePaths(); }