Procházet zdrojové kódy

- Allow magnitide in constant-force toy to go to zero.

MelvMay-GG před 12 roky
rodič
revize
7e9a99eb7d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      modules/ConstantForceControllerToy/1/main.cs

+ 1 - 1
modules/ConstantForceControllerToy/1/main.cs

@@ -36,7 +36,7 @@ function ConstantForceControllerToy::create( %this )
 
     // Add options.    
     addNumericOption("Force Angle", -359, 359, 1, "setForceAngle", ConstantForceControllerToy.ForceAngle, false, "The angle of the constant force.");   
-    addNumericOption("Force Magnitude", 1, 1000, 10, "setForceMagnitude", ConstantForceControllerToy.ForceMagnitude, false, "The magnitude of the constant force.");   
+    addNumericOption("Force Magnitude", 0, 1000, 10, "setForceMagnitude", ConstantForceControllerToy.ForceMagnitude, false, "The magnitude of the constant force.");   
     addNumericOption("Debris Count", 10, 1000, 10, "setDebrisCount", ConstantForceControllerToy.DebrisCount, true, "The amount of debris affected by the constant force controller.");
     
     // Reset the toy.