aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
diff options
context:
space:
mode:
authorRobert Adams2012-12-26 10:25:50 -0800
committerRobert Adams2012-12-26 10:25:50 -0800
commit225b564573a5ac12ca1b1e592834476feccf8ebb (patch)
tree4adccb61ae3850d07b458c0c594e83812d7bac4d /OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
parentBulletSim: make llBuoyancy work. For some reason, Bullet resets an (diff)
downloadopensim-SC_OLD-225b564573a5ac12ca1b1e592834476feccf8ebb.zip
opensim-SC_OLD-225b564573a5ac12ca1b1e592834476feccf8ebb.tar.gz
opensim-SC_OLD-225b564573a5ac12ca1b1e592834476feccf8ebb.tar.bz2
opensim-SC_OLD-225b564573a5ac12ca1b1e592834476feccf8ebb.tar.xz
BulletSim: scale the force for external AddForce by the simulation
step time so it will be applied completely the next step. The internal AddForce routine does not scale the force.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Physics/BulletSPlugin/BSScene.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
index 0022e45..b67c0ed 100644
--- a/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
+++ b/OpenSim/Region/Physics/BulletSPlugin/BSScene.cs
@@ -495,6 +495,10 @@ public sealed class BSScene : PhysicsScene, IPhysicsParameters
495 495
496 InTaintTime = false; // Only used for debugging so locking is not necessary. 496 InTaintTime = false; // Only used for debugging so locking is not necessary.
497 497
498 // The following causes the unmanaged code to output ALL the values found in ALL the objects in the world.
499 // Only enable this in a limited test world with few objects.
500 // BulletSimAPI.DumpAllInfo2(World.ptr); // DEBUG DEBUG DEBUG
501
498 // step the physical world one interval 502 // step the physical world one interval
499 m_simulationStep++; 503 m_simulationStep++;
500 int numSubSteps = 0; 504 int numSubSteps = 0;