diff options
author | Robert Adams | 2013-05-21 21:32:30 -0700 |
---|---|---|
committer | Robert Adams | 2013-05-21 21:32:30 -0700 |
commit | 2fd8819a043269f9308cb46c71893e6eb35a426e (patch) | |
tree | e046b5ff47b2b243d8355b53339293d62aaa17cc /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | BulletSim: add gImpact shape type. Add logic to use gImpact shape (diff) | |
download | opensim-SC_OLD-2fd8819a043269f9308cb46c71893e6eb35a426e.zip opensim-SC_OLD-2fd8819a043269f9308cb46c71893e6eb35a426e.tar.gz opensim-SC_OLD-2fd8819a043269f9308cb46c71893e6eb35a426e.tar.bz2 opensim-SC_OLD-2fd8819a043269f9308cb46c71893e6eb35a426e.tar.xz |
BulletSim: add code to experimentally use asset hull data.
Default to 'off' as it needs debugging.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSParam.cs')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index 9a9e527..5cff668 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -90,6 +90,7 @@ public static class BSParam | |||
90 | public static bool ShouldUseBulletHACD { get; set; } | 90 | public static bool ShouldUseBulletHACD { get; set; } |
91 | public static bool ShouldUseSingleConvexHullForPrims { get; set; } | 91 | public static bool ShouldUseSingleConvexHullForPrims { get; set; } |
92 | public static bool ShouldUseGImpactShapeForPrims { get; set; } | 92 | public static bool ShouldUseGImpactShapeForPrims { get; set; } |
93 | public static bool ShouldUseAssetHulls { get; set; } | ||
93 | 94 | ||
94 | public static float TerrainImplementation { get; set; } | 95 | public static float TerrainImplementation { get; set; } |
95 | public static int TerrainMeshMagnification { get; private set; } | 96 | public static int TerrainMeshMagnification { get; private set; } |
@@ -372,6 +373,8 @@ public static class BSParam | |||
372 | true ), | 373 | true ), |
373 | new ParameterDefn<bool>("ShouldUseGImpactShapeForPrims", "If true, use a GImpact shape for prims with cuts and twists", | 374 | new ParameterDefn<bool>("ShouldUseGImpactShapeForPrims", "If true, use a GImpact shape for prims with cuts and twists", |
374 | false ), | 375 | false ), |
376 | new ParameterDefn<bool>("UseAssetHulls", "If true, use hull if specified in the mesh asset info", | ||
377 | false ), | ||
375 | 378 | ||
376 | new ParameterDefn<int>("CrossingFailuresBeforeOutOfBounds", "How forgiving we are about getting into adjactent regions", | 379 | new ParameterDefn<int>("CrossingFailuresBeforeOutOfBounds", "How forgiving we are about getting into adjactent regions", |
377 | 5 ), | 380 | 5 ), |