aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
diff options
context:
space:
mode:
authorRobert Adams2013-05-02 12:27:30 -0700
committerRobert Adams2013-05-02 12:27:30 -0700
commit4042c82a7293c40955a14d04d9e5ae05d35ef7cf (patch)
treec07959bf5d928e4c92f93d1a4c241742b7642dc2 /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
parentBulletSim: Rebuild physical body if physical shape changes for mesh and hull. (diff)
downloadopensim-SC_OLD-4042c82a7293c40955a14d04d9e5ae05d35ef7cf.zip
opensim-SC_OLD-4042c82a7293c40955a14d04d9e5ae05d35ef7cf.tar.gz
opensim-SC_OLD-4042c82a7293c40955a14d04d9e5ae05d35ef7cf.tar.bz2
opensim-SC_OLD-4042c82a7293c40955a14d04d9e5ae05d35ef7cf.tar.xz
BulletSim: prims with no cuts created with single convex hull shape.
Parameter added to enable/disable this feature.
Diffstat (limited to 'OpenSim/Region/Physics/BulletSPlugin/BSScene.cs')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index 8e05b58..a4a8794 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -316,7 +316,10 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
316 break; 316 break;
317 case "bulletxna": 317 case "bulletxna":
318 ret = new BSAPIXNA(engineName, this); 318 ret = new BSAPIXNA(engineName, this);
319 // Disable some features that are not implemented in BulletXNA
320 m_log.InfoFormat("{0} Disabling some physics features not implemented by BulletXNA", LogHeader);
319 BSParam.ShouldUseBulletHACD = false; 321 BSParam.ShouldUseBulletHACD = false;
322 BSParam.ShouldUseSingleConvexHullForPrims = false;
320 break; 323 break;
321 } 324 }
322 325