From ac4b2b2f50d03bf94e63902961d91604734395fb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 4 Sep 2015 09:42:33 +0100 Subject: normalise physics plugins to return fps as (simulated time / requested simulation time). improved a bit old ode simulations per call math --- OpenSim/Region/Physics/POSPlugin/POSScene.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Physics/POSPlugin/POSScene.cs') diff --git a/OpenSim/Region/Physics/POSPlugin/POSScene.cs b/OpenSim/Region/Physics/POSPlugin/POSScene.cs index 080c6ab..061304a 100644 --- a/OpenSim/Region/Physics/POSPlugin/POSScene.cs +++ b/OpenSim/Region/Physics/POSPlugin/POSScene.cs @@ -238,7 +238,7 @@ namespace OpenSim.Region.Physics.POSPlugin character._velocity.Z = (character.Position.Z - oldposZ)/timeStep; } } - return fps; + return 1.0f; } public override void GetResults() -- cgit v1.1