diff options
author | UbitUmarov | 2012-05-10 22:44:12 +0100 |
---|---|---|
committer | UbitUmarov | 2012-05-10 22:44:12 +0100 |
commit | 3c37bc2851eb1c8c1ebd164dbf43fbeea427c2b8 (patch) | |
tree | b821d3b3e0694c4d5fd6bcd880927a5f4ef602ac /OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |
parent | ubitode: changes to vehicles servos (diff) | |
download | opensim-SC_OLD-3c37bc2851eb1c8c1ebd164dbf43fbeea427c2b8.zip opensim-SC_OLD-3c37bc2851eb1c8c1ebd164dbf43fbeea427c2b8.tar.gz opensim-SC_OLD-3c37bc2851eb1c8c1ebd164dbf43fbeea427c2b8.tar.bz2 opensim-SC_OLD-3c37bc2851eb1c8c1ebd164dbf43fbeea427c2b8.tar.xz |
reduce avatars terminal velocity to less than 30m/s or colisions with basic boxs fail badly. (ode lib problem. chode just may support a bit higher velocity due to the use of tilt).
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index ca83dd7..e0de6cc 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -536,7 +536,8 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
536 | // This is in addition to the step size. | 536 | // This is in addition to the step size. |
537 | // Essentially Steps * m_physicsiterations | 537 | // Essentially Steps * m_physicsiterations |
538 | d.WorldSetQuickStepNumIterations(world, m_physicsiterations); | 538 | d.WorldSetQuickStepNumIterations(world, m_physicsiterations); |
539 | d.WorldSetContactMaxCorrectingVel(world, 100.0f); | 539 | |
540 | d.WorldSetContactMaxCorrectingVel(world, 50.0f); | ||
540 | 541 | ||
541 | spacesPerMeter = 1 / metersInSpace; | 542 | spacesPerMeter = 1 / metersInSpace; |
542 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeter); | 543 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeter); |