diff options
author | UbitUmarov | 2012-05-12 13:44:47 +0100 |
---|---|---|
committer | UbitUmarov | 2012-05-12 13:44:47 +0100 |
commit | 792e8db45695a6151c4e7d039b792bdfeb5c0f87 (patch) | |
tree | 5cc629aa21c92a2632b0a075a3cd86d34f74232a /OpenSim/Region/Physics | |
parent | ubitODE: trial workaround for avatar colisions (diff) | |
download | opensim-SC_OLD-792e8db45695a6151c4e7d039b792bdfeb5c0f87.zip opensim-SC_OLD-792e8db45695a6151c4e7d039b792bdfeb5c0f87.tar.gz opensim-SC_OLD-792e8db45695a6151c4e7d039b792bdfeb5c0f87.tar.bz2 opensim-SC_OLD-792e8db45695a6151c4e7d039b792bdfeb5c0f87.tar.xz |
ubitODE reduced again a bit the max allowed correction velocity on colisions, to reduce a bit bouncing inerent to colisions.
Diffstat (limited to 'OpenSim/Region/Physics')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs index 63462b1..7367719 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/OdeScene.cs | |||
@@ -537,7 +537,7 @@ namespace OpenSim.Region.Physics.OdePlugin | |||
537 | // Essentially Steps * m_physicsiterations | 537 | // Essentially Steps * m_physicsiterations |
538 | d.WorldSetQuickStepNumIterations(world, m_physicsiterations); | 538 | d.WorldSetQuickStepNumIterations(world, m_physicsiterations); |
539 | 539 | ||
540 | d.WorldSetContactMaxCorrectingVel(world, 100.0f); | 540 | d.WorldSetContactMaxCorrectingVel(world, 60.0f); |
541 | 541 | ||
542 | spacesPerMeter = 1 / metersInSpace; | 542 | spacesPerMeter = 1 / metersInSpace; |
543 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeter); | 543 | spaceGridMaxX = (int)(WorldExtents.X * spacesPerMeter); |