aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/OdePlugin.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/OdePlugin.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
index 0563992..e22b2a1 100644
--- a/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
+++ b/OpenSim/Region/Physics/OdePlugin/OdePlugin.cs
@@ -80,7 +80,7 @@ namespace OpenSim.Region.Physics.OdePlugin
80 private const uint m_regionWidth = 256; 80 private const uint m_regionWidth = 256;
81 private const uint m_regionHeight = 256; 81 private const uint m_regionHeight = 256;
82 82
83 private static float ODE_STEPSIZE = 0.004f; 83 private static float ODE_STEPSIZE = 0.025f;
84 private static bool RENDER_FLAG = false; 84 private static bool RENDER_FLAG = false;
85 private static float metersInSpace = 29.9f; 85 private static float metersInSpace = 29.9f;
86 private IntPtr contactgroup; 86 private IntPtr contactgroup;
@@ -1087,7 +1087,7 @@ namespace OpenSim.Region.Physics.OdePlugin
1087 1087
1088 // Figure out the Frames Per Second we're going at. 1088 // Figure out the Frames Per Second we're going at.
1089 //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size 1089 //(step_time == 0.004f, there's 250 of those per second. Times the step time/step size
1090 fps = ((step_time/ODE_STEPSIZE)*(m_physicsiterations*250)); 1090 fps = (step_time/ODE_STEPSIZE) * 1000;
1091 1091
1092 1092
1093 while (step_time > 0.0f) 1093 while (step_time > 0.0f)