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.
cpu-performance
Robert Adams 2013-06-05 07:12:14 -07:00
parent 0c971d148c
commit b5d0ac4c42
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ public static class BSParam
new ParameterDefn<bool>("UseSeparatePhysicsThread", "If 'true', the physics engine runs independent from the simulator heartbeat", new ParameterDefn<bool>("UseSeparatePhysicsThread", "If 'true', the physics engine runs independent from the simulator heartbeat",
false ), false ),
new ParameterDefn<float>("PhysicsTimeStep", "If separate thread, seconds to simulate each interval", new ParameterDefn<float>("PhysicsTimeStep", "If separate thread, seconds to simulate each interval",
0.1f ), 0.089f ),
new ParameterDefn<bool>("MeshSculptedPrim", "Whether to create meshes for sculpties", new ParameterDefn<bool>("MeshSculptedPrim", "Whether to create meshes for sculpties",
true, true,