public void Trigger(Vector2 pos) { _point.BakePosition(pos); Vector2 direction = _directionToPlayer ? (_point.GetPosition() - Program.Player.Position).Normalized : _direction; direction = direction.Rotate(_rotation); if (_directionToPlayer) { direction.y = -direction.y; direction *= _direction; } _pattern.SpawnBullets <Bullet>(_owner, _correctY, _point.GetPosition(), direction, _pool, _damage, _bulletSize, _speedModifier, _lifeTime, _order, _directionLerp); _complete = true; }