aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
diff options
context:
space:
mode:
authorUbitUmarov2015-11-08 04:28:46 +0000
committerUbitUmarov2015-11-08 04:28:46 +0000
commit097c56330a410274410c87f4748156e08841c5cf (patch)
tree33ba1b303a9b4278b2b8988a83d3d1423c5c8d42 /OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
parent change maximum angular velocity to a value derived from heartbeat rate and N... (diff)
downloadopensim-SC_OLD-097c56330a410274410c87f4748156e08841c5cf.zip
opensim-SC_OLD-097c56330a410274410c87f4748156e08841c5cf.tar.gz
opensim-SC_OLD-097c56330a410274410c87f4748156e08841c5cf.tar.bz2
opensim-SC_OLD-097c56330a410274410c87f4748156e08841c5cf.tar.xz
rename MinFrameTime as FrameTime, since it is not a minimum but a target value; retune its value a bit so reported FPS is closer to integer value; change ode step size acording to reduce jitter in phys FPS; Make Statistics Scaling factor (fludge factor) configurable. (legacy default of 5.0 in code)
Diffstat (limited to 'OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs')
-rw-r--r--OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
index ebffda2..42bd849 100644
--- a/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
+++ b/OpenSim/Region/PhysicsModules/ubOde/ODEScene.cs
@@ -495,7 +495,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
495 } 495 }
496 } 496 }
497 497
498 float heartbeat = 1/m_frameWorkScene.MinFrameTime; 498 float heartbeat = 1/m_frameWorkScene.FrameTime;
499 maximumAngularVelocity = 0.49f * heartbeat *(float)Math.PI; 499 maximumAngularVelocity = 0.49f * heartbeat *(float)Math.PI;
500 maxAngVelocitySQ = maximumAngularVelocity * maximumAngularVelocity; 500 maxAngVelocitySQ = maximumAngularVelocity * maximumAngularVelocity;
501 501