diff options
author | Robert Adams | 2013-06-05 07:12:14 -0700 |
---|---|---|
committer | Robert Adams | 2013-06-05 07:12:14 -0700 |
commit | b5d0ac4c42629812523f5af4384f61dee00ef495 (patch) | |
tree | 9064cacf64709d3a232850d346e82f33a35550a1 /OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |
parent | BulletSim: fix corner case when rebuilding a compound linkset while (diff) | |
download | opensim-SC-b5d0ac4c42629812523f5af4384f61dee00ef495.zip opensim-SC-b5d0ac4c42629812523f5af4384f61dee00ef495.tar.gz opensim-SC-b5d0ac4c42629812523f5af4384f61dee00ef495.tar.bz2 opensim-SC-b5d0ac4c42629812523f5af4384f61dee00ef495.tar.xz |
BulletSim: default PhysicsTimeStep to same as the simulator's
heartbeat timestep when running the physics engine on a separate
thread. This reduces the occurance of heartbeats that happen when
there is no physics step which is seen as vehicle jerkyness.
Diffstat (limited to '')
-rwxr-xr-x | OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs index afd547a..aad1108 100755 --- a/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs +++ b/OpenSim/Region/Physics/BulletSPlugin/BSParam.cs | |||
@@ -360,7 +360,7 @@ public static class BSParam | |||
360 | new ParameterDefn<bool>("UseSeparatePhysicsThread", "If 'true', the physics engine runs independent from the simulator heartbeat", | 360 | new ParameterDefn<bool>("UseSeparatePhysicsThread", "If 'true', the physics engine runs independent from the simulator heartbeat", |
361 | false ), | 361 | false ), |
362 | new ParameterDefn<float>("PhysicsTimeStep", "If separate thread, seconds to simulate each interval", | 362 | new ParameterDefn<float>("PhysicsTimeStep", "If separate thread, seconds to simulate each interval", |
363 | 0.1f ), | 363 | 0.089f ), |
364 | 364 | ||
365 | new ParameterDefn<bool>("MeshSculptedPrim", "Whether to create meshes for sculpties", | 365 | new ParameterDefn<bool>("MeshSculptedPrim", "Whether to create meshes for sculpties", |
366 | true, | 366 | true, |