remove check of other prim top height on steps climb code

This commit is contained in:
UbitUmarov
2014-09-29 23:24:22 +01:00
parent cfb1a27300
commit 1b2e2a86a3

View File

@@ -909,12 +909,13 @@ namespace OpenSim.Region.Physics.OdePlugin
}
return true;
}
/*
d.AABB aabb;
d.GeomGetAABB(other,out aabb);
float othertop = aabb.MaxZ - _position.Z;
if (offset.Z > 0 || othertop > -feetOff || contact.normal.Z > 0.35f)
*/
// if (offset.Z > 0 || othertop > -feetOff || contact.normal.Z > 0.35f)
if (offset.Z > 0 || contact.normal.Z > 0.35f)
{
if (offset.Z <= 0)
{