aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics
diff options
context:
space:
mode:
authorteravus2012-12-23 16:17:18 -0500
committerteravus2012-12-23 16:17:18 -0500
commit93188706073fa23aa037456f5ec2d52605257d89 (patch)
tree828b881f7f937e132eefb5ef6f795d34e28cf427 /OpenSim/Region/Physics
parent* Update Example to include BulletSimN option and description. (diff)
downloadopensim-SC-93188706073fa23aa037456f5ec2d52605257d89.zip
opensim-SC-93188706073fa23aa037456f5ec2d52605257d89.tar.gz
opensim-SC-93188706073fa23aa037456f5ec2d52605257d89.tar.bz2
opensim-SC-93188706073fa23aa037456f5ec2d52605257d89.tar.xz
* Update BulletSimN terrain implementation to default to Heightfield, it's less CPU intensive.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r--OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs
index 0bb1674..20c0939 100644
--- a/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs
+++ b/OpenSim/Region/Physics/BulletSNPlugin/BSParam.cs
@@ -315,7 +315,7 @@ public static class BSParam
315 (s,o,v) => { BulletSimAPI.SetContactProcessingThreshold2(o.PhysBody.ptr, v); } ), 315 (s,o,v) => { BulletSimAPI.SetContactProcessingThreshold2(o.PhysBody.ptr, v); } ),
316 316
317 new ParameterDefn("TerrainImplementation", "Type of shape to use for terrain (0=heightmap, 1=mesh)", 317 new ParameterDefn("TerrainImplementation", "Type of shape to use for terrain (0=heightmap, 1=mesh)",
318 (float)BSTerrainPhys.TerrainImplementation.Mesh, 318 (float)BSTerrainPhys.TerrainImplementation.Heightmap,
319 (s,cf,p,v) => { TerrainImplementation = cf.GetFloat(p,v); }, 319 (s,cf,p,v) => { TerrainImplementation = cf.GetFloat(p,v); },
320 (s) => { return TerrainImplementation; }, 320 (s) => { return TerrainImplementation; },
321 (s,p,l,v) => { TerrainImplementation = v; } ), 321 (s,p,l,v) => { TerrainImplementation = v; } ),