Ejemplo n.º 1
0
        public DirectionalNavigation(Ship ship, NavigationOptions options, Scalar thrustModifier)
        {
            this.ship    = ship;
            this.options = options;

            thrustVectors = ship.gameObject.AddComponent <AxisThrustVectors>();
            thrustVectors.Setup(ship, thrustModifier);
        }
Ejemplo n.º 2
0
 public SimpleNavigation(Ship ship, NavigationOptions options, Scalar thrustModifier)
 {
     this.ship          = ship;
     this.options       = options;
     this.thrustVectors = new ThrustVectors(thrustModifier);
 }