diff options
author | UbitUmarov | 2013-01-02 21:59:19 +0000 |
---|---|---|
committer | UbitUmarov | 2013-01-02 21:59:19 +0000 |
commit | a504704071b5302601240854c32fcc3d3c5cd3b8 (patch) | |
tree | 98e2da3d59afcf31a6734fa5ed1ae38f06c3e9c9 /OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs | |
parent | add a lock to CollisionEventsThisFrame (diff) | |
download | opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.zip opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.tar.gz opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.tar.bz2 opensim-SC-a504704071b5302601240854c32fcc3d3c5cd3b8.tar.xz |
i try to fix avatar orientation in some cases..
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs')
-rw-r--r-- | OpenSim/Region/Physics/UbitOdePlugin/ODESitAvatar.cs | 4 |
1 files 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 | |||
233 | norm = rayResults[0].Normal; | 233 | norm = rayResults[0].Normal; |
234 | edgeNormalX = norm.X; | 234 | edgeNormalX = norm.X; |
235 | edgeNormalY = norm.Y; | 235 | edgeNormalY = norm.Y; |
236 | edgeDirX = rayDir.X; | 236 | edgeDirX = -rayDir.X; |
237 | edgeDirY = rayDir.Y; | 237 | edgeDirY = -rayDir.Y; |
238 | } | 238 | } |
239 | else | 239 | else |
240 | { | 240 | { |