mirror of
https://github.com/opensim/opensim.git
synced 2026-08-11 11:57:03 +08:00
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)
This commit is contained in:
@@ -495,7 +495,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde
|
||||
}
|
||||
}
|
||||
|
||||
float heartbeat = 1/m_frameWorkScene.MinFrameTime;
|
||||
float heartbeat = 1/m_frameWorkScene.FrameTime;
|
||||
maximumAngularVelocity = 0.49f * heartbeat *(float)Math.PI;
|
||||
maxAngVelocitySQ = maximumAngularVelocity * maximumAngularVelocity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user