From 7640b5abf651e51ae2efd5f79f440768a595dbc9 Mon Sep 17 00:00:00 2001 From: Robert Adams Date: Fri, 5 Aug 2011 11:01:27 -0700 Subject: BulletSim: Parameters settable from ini file. Linksets. Physical property value tuning --- bin/BulletSim-x86_64.dll | Bin 754688 -> 755200 bytes bin/BulletSim.dll | Bin 654336 -> 653824 bytes bin/OpenSimDefaults.ini | 42 ++++++++++++++++++++++++++++++++++++++++++ bin/libBulletSim.so | Bin 1734658 -> 1734700 bytes 4 files changed, 42 insertions(+) (limited to 'bin') diff --git a/bin/BulletSim-x86_64.dll b/bin/BulletSim-x86_64.dll index bcdea44..750b2f5 100755 Binary files a/bin/BulletSim-x86_64.dll and b/bin/BulletSim-x86_64.dll differ diff --git a/bin/BulletSim.dll b/bin/BulletSim.dll index 5dc51db..d5c76da 100755 Binary files a/bin/BulletSim.dll and b/bin/BulletSim.dll differ diff --git a/bin/OpenSimDefaults.ini b/bin/OpenSimDefaults.ini index bf36228..d487ce6 100644 --- a/bin/OpenSimDefaults.ini +++ b/bin/OpenSimDefaults.ini @@ -159,6 +159,7 @@ ;physics = basicphysics ;physics = POS ;physics = modified_BulletX + ;physics = BulletSim ; ## ; ## PERMISSIONS @@ -725,6 +726,47 @@ ; true. Note that this will increase memory usage and region startup time. Default is false. ;force_simple_prim_meshing = true +[BulletSim] + ; World parameters + DefaultFriction = 0.70 + DefaultDensity = 10.000006836 + DefaultRestitution = 0.0 + Gravity = -9.80665 + + TerrainFriction = 0.85 + TerrainHitFriction = 0.8 + TerrainRestitution = 0.2 + AvatarFriction = 0.85 + AvatarDensity = 60.0 + AvatarCapsuleRadius = 0.37 + AvatarCapsuleHeight = 1.5 + + MaxObjectMass = 10000.01 + + ; Dynamic parameters + LinearDamping = 0.0 + AngularDamping = 0.0 + DeactivationTime = 0.2 + LinearSleepingThreshold = 0.8 + AngularSleepingThreshold = 1.0 + CcdMotionThreshold = 0.5 + CcdSweptSphereRadius = 0.2 + + ; Whether to mesh sculpties + MeshSculptedPrim = true + + ; If 'true', force simple prims (box and sphere) to be meshed + ForceSimplePrimMeshing = false + + ; number^2 non-physical level of detail of the sculpt texture. 32x32 - 1024 verticies + MeshLevelOfDetail = 32 + + ; Bullet step parameters + MaxSubSteps = 10; + FixedTimeStep = .01667 + + MaxCollisionsPerFrame = 2048 + MaxUpdatesPerFrame = 2048 [RemoteAdmin] enabled = false diff --git a/bin/libBulletSim.so b/bin/libBulletSim.so index 82d3b34..275355d 100755 Binary files a/bin/libBulletSim.so and b/bin/libBulletSim.so differ -- cgit v1.1