BulletSim: reduce maximum force a script can apply (like in llApplyImpulse)

to the documented maximum from the outragious number previously.
user_profiles
Robert Adams 2013-01-15 12:55:55 -08:00
parent 0963ece25b
commit daef2b8d87
1 changed files with 3 additions and 3 deletions

View File

@ -94,16 +94,16 @@ public static class BSParam
public static float PID_D { get; private set; } // derivative public static float PID_D { get; private set; } // derivative
public static float PID_P { get; private set; } // proportional public static float PID_P { get; private set; } // proportional
// Various constants that come from that other virtual world that shall not be named // Various constants that come from that other virtual world that shall not be named.
public const float MinGravityZ = -1f; public const float MinGravityZ = -1f;
public const float MaxGravityZ = 28f; public const float MaxGravityZ = 28f;
public const float MinFriction = 0f; public const float MinFriction = 0f;
public const float MaxFriction = 255f; public const float MaxFriction = 255f;
public const float MinDensity = 0f; public const float MinDensity = 0.01f;
public const float MaxDensity = 22587f; public const float MaxDensity = 22587f;
public const float MinRestitution = 0f; public const float MinRestitution = 0f;
public const float MaxRestitution = 1f; public const float MaxRestitution = 1f;
public const float MaxAddForceMagnitude = 20000f; public const float MaxAddForceMagnitude = 20f;
// =========================================================================== // ===========================================================================
public delegate void ParamUser(BSScene scene, IConfig conf, string paramName, float val); public delegate void ParamUser(BSScene scene, IConfig conf, string paramName, float val);