From a504704071b5302601240854c32fcc3d3c5cd3b8 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Wed, 2 Jan 2013 21:59:19 +0000 Subject: i try to fix avatar orientation in some cases.. --- OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs index 9e23763..d6f6681 100644 --- a/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs +++ b/OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs @@ -233,8 +233,8 @@ namespace OpenSim.Region.Physics.OdePlugin norm = rayResults[0].Normal; edgeNormalX = norm.X; edgeNormalY = norm.Y; - edgeDirX = rayDir.X; - edgeDirY = rayDir.Y; + edgeDirX = -rayDir.X; + edgeDirY = -rayDir.Y; } else { -- cgit v1.1