* Update BulletSimN terrain implementation to default to Heightfield, it's less CPU intensive.

This commit is contained in:
teravus
2012-12-23 16:17:18 -05:00
parent 1a841dfc59
commit 9318870607

View File

@@ -315,7 +315,7 @@ public static class BSParam
(s,o,v) => { BulletSimAPI.SetContactProcessingThreshold2(o.PhysBody.ptr, v); } ),
new ParameterDefn("TerrainImplementation", "Type of shape to use for terrain (0=heightmap, 1=mesh)",
(float)BSTerrainPhys.TerrainImplementation.Mesh,
(float)BSTerrainPhys.TerrainImplementation.Heightmap,
(s,cf,p,v) => { TerrainImplementation = cf.GetFloat(p,v); },
(s) => { return TerrainImplementation; },
(s,p,l,v) => { TerrainImplementation = v; } ),