BulletSim: Parameters settable from ini file. Linksets. Physical property value tuning

This commit is contained in:
Robert Adams
2011-08-05 11:01:27 -07:00
committed by Mic Bowman
parent a95f2fe4b3
commit 7640b5abf6
8 changed files with 356 additions and 211 deletions

View File

@@ -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