diff options
author | Robert Adams | 2013-07-08 16:21:10 -0700 |
---|---|---|
committer | Robert Adams | 2013-07-08 16:24:31 -0700 |
commit | fad4241e4ea898b0dca0176cc9b428d03ba44d1c (patch) | |
tree | c9786d6ee34555025448ebadcf4f500657259b65 /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | minor: remove mono compiler warnings from HGSuitcaseInventoryService (diff) | |
download | opensim-SC_OLD-fad4241e4ea898b0dca0176cc9b428d03ba44d1c.zip opensim-SC_OLD-fad4241e4ea898b0dca0176cc9b428d03ba44d1c.tar.gz opensim-SC_OLD-fad4241e4ea898b0dca0176cc9b428d03ba44d1c.tar.bz2 opensim-SC_OLD-fad4241e4ea898b0dca0176cc9b428d03ba44d1c.tar.xz |
BulletSim: make all the different angularVerticalAttraction algorithms
selectable from configuration paramters.
Changed default algorithm to "1" from previous default as it seems to
handle Y axis correction a little better.
Add config file independent enablement of vehicle angular forces to
make debugging easier (independent testing of forces).
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSParam.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 0f84bf7..75c3399 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -155,7 +155,10 @@ public static class BSParam | |||
155 | public static Vector3 VehicleInertiaFactor { get; private set; } | 155 | public static Vector3 VehicleInertiaFactor { get; private set; } |
156 | public static float VehicleGroundGravityFudge { get; private set; } | 156 | public static float VehicleGroundGravityFudge { get; private set; } |
157 | public static float VehicleAngularBankingTimescaleFudge { get; private set; } | 157 | public static float VehicleAngularBankingTimescaleFudge { get; private set; } |
158 | public static bool VehicleDebuggingEnable { get; private set; } | 158 | public static bool VehicleEnableAngularVerticalAttraction { get; private set; } |
159 | public static int VehicleAngularVerticalAttractionAlgorithm { get; private set; } | ||
160 | public static bool VehicleEnableAngularDeflection { get; private set; } | ||
161 | public static bool VehicleEnableAngularBanking { get; private set; } | ||
159 | 162 | ||
160 | // Convex Hulls | 163 | // Convex Hulls |
161 | public static int CSHullMaxDepthSplit { get; private set; } | 164 | public static int CSHullMaxDepthSplit { get; private set; } |
@@ -606,8 +609,14 @@ public static class BSParam | |||
606 | 0.2f ), | 609 | 0.2f ), |
607 | new ParameterDefn<float>("VehicleAngularBankingTimescaleFudge", "Factor to multiple angular banking timescale. Tune to increase realism.", | 610 | new ParameterDefn<float>("VehicleAngularBankingTimescaleFudge", "Factor to multiple angular banking timescale. Tune to increase realism.", |
608 | 60.0f ), | 611 | 60.0f ), |
609 | new ParameterDefn<bool>("VehicleDebuggingEnable", "Turn on/off vehicle debugging", | 612 | new ParameterDefn<bool>("VehicleEnableAngularVerticalAttraction", "Turn on/off vehicle angular vertical attraction effect", |
610 | false ), | 613 | true ), |
614 | new ParameterDefn<int>("VehicleAngularVerticalAttractionAlgorithm", "Select vertical attraction algo. You need to look at the source.", | ||
615 | 1 ), | ||
616 | new ParameterDefn<bool>("VehicleEnableAngularDeflection", "Turn on/off vehicle angular deflection effect", | ||
617 | true ), | ||
618 | new ParameterDefn<bool>("VehicleEnableAngularBanking", "Turn on/off vehicle angular banking effect", | ||
619 | true ), | ||
611 | 620 | ||
612 | new ParameterDefn<float>("MaxPersistantManifoldPoolSize", "Number of manifolds pooled (0 means default of 4096)", | 621 | new ParameterDefn<float>("MaxPersistantManifoldPoolSize", "Number of manifolds pooled (0 means default of 4096)", |
613 | 0f, | 622 | 0f, |