From 7081ef948c4fa7e26ff15544a40f7be447db0bef Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 21 Dec 2015 17:56:12 +0000 Subject: clean a bit --- OpenSim/Region/Framework/Scenes/ScenePresence.cs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/OpenSim/Region/Framework/Scenes/ScenePresence.cs b/OpenSim/Region/Framework/Scenes/ScenePresence.cs index 729d5a9..ec96519 100644 --- a/OpenSim/Region/Framework/Scenes/ScenePresence.cs +++ b/OpenSim/Region/Framework/Scenes/ScenePresence.cs @@ -1110,12 +1110,6 @@ namespace OpenSim.Region.Framework.Scenes #region Status Methods - void PhysicsCheckPositionZ() - { - if(m_scene.PhysicsScene == null) - return; - } - /// /// Turns a child agent into a root agent. /// @@ -1243,12 +1237,12 @@ namespace OpenSim.Region.Framework.Scenes if(checkPhysics) { - // no land!! + // land check was done above RayFilterFlags rayfilter = RayFilterFlags.ClosestAndBackCull; rayfilter |= RayFilterFlags.physical; rayfilter |= RayFilterFlags.nonphysical; rayfilter |= RayFilterFlags.LSLPhantom; // ubODE will only see volume detectors - int physcount = 1; + int physcount = 25; float dist = 1024f; Vector3 direction = new Vector3(0f,0f,-1f); Vector3 RayStart = pos; -- cgit v1.1