diff options
author | Robert Adams | 2013-03-16 15:34:07 -0700 |
---|---|---|
committer | Robert Adams | 2013-03-16 15:34:07 -0700 |
commit | 464201b41d5f5fdd7c88ab5e95dd7b6fbae6d766 (patch) | |
tree | ac5c22979a2dfeeb1d940223abddb2a8160aec74 /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | BulletSim: Working Implementation of Angular Banking for Vehicles (Not SL Gra... (diff) | |
download | opensim-SC-464201b41d5f5fdd7c88ab5e95dd7b6fbae6d766.zip opensim-SC-464201b41d5f5fdd7c88ab5e95dd7b6fbae6d766.tar.gz opensim-SC-464201b41d5f5fdd7c88ab5e95dd7b6fbae6d766.tar.bz2 opensim-SC-464201b41d5f5fdd7c88ab5e95dd7b6fbae6d766.tar.xz |
BulletSim: add INI parameter for angular banking timescale fudge parameter.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 2af8468..77bdacb 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -123,6 +123,7 @@ public static class BSParam | |||
123 | public static Vector3 VehicleLinearFactor { get; private set; } | 123 | public static Vector3 VehicleLinearFactor { get; private set; } |
124 | public static Vector3 VehicleAngularFactor { get; private set; } | 124 | public static Vector3 VehicleAngularFactor { get; private set; } |
125 | public static float VehicleGroundGravityFudge { get; private set; } | 125 | public static float VehicleGroundGravityFudge { get; private set; } |
126 | public static float VehicleAngularBankingTimescaleFudge { get; private set; } | ||
126 | public static bool VehicleDebuggingEnabled { get; private set; } | 127 | public static bool VehicleDebuggingEnabled { get; private set; } |
127 | 128 | ||
128 | // Linkset implementation parameters | 129 | // Linkset implementation parameters |
@@ -543,10 +544,14 @@ public static class BSParam | |||
543 | 0.0f, | 544 | 0.0f, |
544 | (s) => { return VehicleRestitution; }, | 545 | (s) => { return VehicleRestitution; }, |
545 | (s,v) => { VehicleRestitution = v; } ), | 546 | (s,v) => { VehicleRestitution = v; } ), |
546 | new ParameterDefn<float>("VehicleGroundGravityFudge", "Factor to multiple gravity if a ground vehicle is probably on the ground (0.0 - 1.0)", | 547 | new ParameterDefn<float>("VehicleGroundGravityFudge", "Factor to multiply gravity if a ground vehicle is probably on the ground (0.0 - 1.0)", |
547 | 0.2f, | 548 | 0.2f, |
548 | (s) => { return VehicleGroundGravityFudge; }, | 549 | (s) => { return VehicleGroundGravityFudge; }, |
549 | (s,v) => { VehicleGroundGravityFudge = v; } ), | 550 | (s,v) => { VehicleGroundGravityFudge = v; } ), |
551 | new ParameterDefn<float>("VehicleAngularBankingTimescaleFudge", "Factor to multiple angular banking timescale. Tune to increase realism.", | ||
552 | 60.0f, | ||
553 | (s) => { return VehicleAngularBankingTimescaleFudge; }, | ||
554 | (s,v) => { VehicleAngularBankingTimescaleFudge = v; } ), | ||
550 | new ParameterDefn<bool>("VehicleDebuggingEnable", "Turn on/off vehicle debugging", | 555 | new ParameterDefn<bool>("VehicleDebuggingEnable", "Turn on/off vehicle debugging", |
551 | false, | 556 | false, |
552 | (s) => { return VehicleDebuggingEnabled; }, | 557 | (s) => { return VehicleDebuggingEnabled; }, |