diff --git a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs index 3c4675c8de..0e46471879 100644 --- a/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs +++ b/OpenSim/Region/PhysicsModules/ubOde/ODECharacter.cs @@ -944,7 +944,7 @@ namespace OpenSim.Region.PhysicsModule.ubOde return true; } - if (gtype == d.GeomClassID.SphereClass) + if (gtype == d.GeomClassID.SphereClass && d.GeomGetBody(other) != IntPtr.Zero) { if(d.GeomSphereGetRadius(other) < 0.5) return true;