aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region
diff options
context:
space:
mode:
authorRobert Adams2012-03-23 15:50:32 -0700
committerRobert Adams2012-03-23 15:50:32 -0700
commitff54b3c3661a6bf9d5f0d9a24f8aeed5b42ce0ce (patch)
treed05471258f4c2f30f0107e82a00c4e7c0b202289 /OpenSim/Region
parentBulletSim: Add new configuration parameters to get and set console commands (diff)
downloadopensim-SC-ff54b3c3661a6bf9d5f0d9a24f8aeed5b42ce0ce.zip
opensim-SC-ff54b3c3661a6bf9d5f0d9a24f8aeed5b42ce0ce.tar.gz
opensim-SC-ff54b3c3661a6bf9d5f0d9a24f8aeed5b42ce0ce.tar.bz2
opensim-SC-ff54b3c3661a6bf9d5f0d9a24f8aeed5b42ce0ce.tar.xz
BulletSim: change default of shouldDisableContactPoolDynamicAllocation from False to True. It seems that collisions don't happen well when it is False (things fall through terrain).
Diffstat (limited to 'OpenSim/Region')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index 8d2e25f..36dead0 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -243,7 +243,7 @@ public class BSScene : PhysicsScene, IPhysicsParameters
243 parms.avatarContactProcessingThreshold = 0.1f; 243 parms.avatarContactProcessingThreshold = 0.1f;
244 244
245 parms.maxPersistantManifoldPoolSize = 0f; 245 parms.maxPersistantManifoldPoolSize = 0f;
246 parms.shouldDisableContactPoolDynamicAllocation = ConfigurationParameters.numericFalse; 246 parms.shouldDisableContactPoolDynamicAllocation = ConfigurationParameters.numericTrue;
247 parms.shouldForceUpdateAllAabbs = ConfigurationParameters.numericFalse; 247 parms.shouldForceUpdateAllAabbs = ConfigurationParameters.numericFalse;
248 parms.shouldRandomizeSolverOrder = ConfigurationParameters.numericFalse; 248 parms.shouldRandomizeSolverOrder = ConfigurationParameters.numericFalse;
249 parms.shouldSplitSimulationIslands = ConfigurationParameters.numericFalse; 249 parms.shouldSplitSimulationIslands = ConfigurationParameters.numericFalse;
@@ -840,7 +840,7 @@ public class BSScene : PhysicsScene, IPhysicsParameters
840 case "avatardensity": UpdateParameterAvatars(ref m_params[0].avatarDensity, "avatar", localID, val); break; 840 case "avatardensity": UpdateParameterAvatars(ref m_params[0].avatarDensity, "avatar", localID, val); break;
841 case "avatarrestitution": UpdateParameterAvatars(ref m_params[0].avatarRestitution, "avatar", localID, val); break; 841 case "avatarrestitution": UpdateParameterAvatars(ref m_params[0].avatarRestitution, "avatar", localID, val); break;
842 case "avatarcapsuleradius": UpdateParameterAvatars(ref m_params[0].avatarCapsuleRadius, "avatar", localID, val); break; 842 case "avatarcapsuleradius": UpdateParameterAvatars(ref m_params[0].avatarCapsuleRadius, "avatar", localID, val); break;
843 case "avatarcapsuleheight": UpdateParameterAvatars(ref m_params[0].avatarCapsuleHeight, "avatar", localID, val); break; 843 case "avatarcapsuleheight": UpdateParameterAvatars(ref m_params[0].avatarCapsuleHeight, "avatar", localID, val); break;
844 case "avatarcontactprocessingthreshold": UpdateParameterAvatars(ref m_params[0].avatarContactProcessingThreshold, "avatar", localID, val); break; 844 case "avatarcontactprocessingthreshold": UpdateParameterAvatars(ref m_params[0].avatarContactProcessingThreshold, "avatar", localID, val); break;
845 845
846 default: ret = false; break; 846 default: ret = false; break;