From dcc36507f3e6d389b02ae44c482c18567b5fd458 Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Sat, 29 Nov 2014 00:48:26 +0000 Subject: Halve the prediction lag for region crossing to improve most flying region crossings without degrading the walk cross experience (neither of which have been that great anyway). --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Region/Framework/Scenes') diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 966152a..93dfd00 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -3674,10 +3674,10 @@ namespace OpenSim.Region.Framework.Scenes Vector3 origPosition = pos2; Vector3 vel = Velocity; - // Compute the avatar position in the next physics tick. + // Compute the future avatar position. // If the avatar will be crossing, we force the crossing to happen now // in the hope that this will make the avatar movement smoother when crossing. - pos2 += vel * 0.1f; + pos2 += vel * 0.05f; if (m_scene.PositionIsInCurrentRegion(pos2)) return; -- cgit v1.1