From 1b2e2a86a3e54ef9437697f7460924f64d986b7c Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 29 Sep 2014 23:24:22 +0100 Subject: [PATCH] remove check of other prim top height on steps climb code --- OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs index 4a98df4be3..992fae74bd 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs @@ -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) {