remove check of other prim top height on steps climb code
parent
cfb1a27300
commit
1b2e2a86a3
|
@ -909,12 +909,13 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
/*
|
||||||
d.AABB aabb;
|
d.AABB aabb;
|
||||||
d.GeomGetAABB(other,out aabb);
|
d.GeomGetAABB(other,out aabb);
|
||||||
float othertop = aabb.MaxZ - _position.Z;
|
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)
|
if (offset.Z <= 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue