aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
diff options
context:
space:
mode:
authorRobert Adams2012-11-02 10:35:12 -0700
committerRobert Adams2012-11-03 21:15:39 -0700
commit1dc23b2b9713f4099534ae0d08c2caf5c8b036b4 (patch)
tree0893dce779215125374d29e918f5b278c97ba937 /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
parentBulletSim: debugging of compound shape implementation of linksets. (diff)
downloadopensim-SC-1dc23b2b9713f4099534ae0d08c2caf5c8b036b4.zip
opensim-SC-1dc23b2b9713f4099534ae0d08c2caf5c8b036b4.tar.gz
opensim-SC-1dc23b2b9713f4099534ae0d08c2caf5c8b036b4.tar.bz2
opensim-SC-1dc23b2b9713f4099534ae0d08c2caf5c8b036b4.tar.xz
BulletSim: parameterize selection of linkset implementation
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index dcfcb83..13aa860 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -1214,6 +1214,11 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
1214 (s) => { return s.m_params[0].numberOfSolverIterations; }, 1214 (s) => { return s.m_params[0].numberOfSolverIterations; },
1215 (s,p,l,v) => { s.m_params[0].numberOfSolverIterations = v; } ), 1215 (s,p,l,v) => { s.m_params[0].numberOfSolverIterations = v; } ),
1216 1216
1217 new ParameterDefn("LinksetImplementation", "Type of linkset implementation (0=Constraint, 1=Compound)",
1218 (float)BSLinkset.LinksetImplementation.Constraint,
1219 (s,cf,p,v) => { s.m_params[0].linksetImplementation = cf.GetFloat(p,v); },
1220 (s) => { return s.m_params[0].linksetImplementation; },
1221 (s,p,l,v) => { s.m_params[0].linksetImplementation = v; } ),
1217 new ParameterDefn("LinkConstraintUseFrameOffset", "For linksets built with constraints, enable frame offsetFor linksets built with constraints, enable frame offset.", 1222 new ParameterDefn("LinkConstraintUseFrameOffset", "For linksets built with constraints, enable frame offsetFor linksets built with constraints, enable frame offset.",
1218 ConfigurationParameters.numericFalse, 1223 ConfigurationParameters.numericFalse,
1219 (s,cf,p,v) => { s.m_params[0].linkConstraintUseFrameOffset = s.NumericBool(cf.GetBoolean(p, s.BoolNumeric(v))); }, 1224 (s,cf,p,v) => { s.m_params[0].linkConstraintUseFrameOffset = s.NumericBool(cf.GetBoolean(p, s.BoolNumeric(v))); },