aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
diff options
context:
space:
mode:
authorUbitUmarov2012-05-19 00:17:37 +0100
committerUbitUmarov2012-05-19 00:17:37 +0100
commita7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff (patch)
tree2a35bca621caa62a5e9d514d1711df57f0f03bac /OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
parent removed redundant colision sounds. Temporary muted sounds ( returns at top o... (diff)
downloadopensim-SC-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.zip
opensim-SC-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.tar.gz
opensim-SC-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.tar.bz2
opensim-SC-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.tar.xz
add colliders relative velocity projected in collision direction to collisions report information.
Diffstat (limited to 'OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs')
-rw-r--r--OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
index b0711d7..bfff3d4 100644
--- a/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
+++ b/OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs
@@ -903,6 +903,7 @@ namespace OpenSim.Region.Physics.OdePlugin
903 contact.SurfaceNormal.X = 0f; 903 contact.SurfaceNormal.X = 0f;
904 contact.SurfaceNormal.Y = 0f; 904 contact.SurfaceNormal.Y = 0f;
905 contact.SurfaceNormal.Z = -1f; 905 contact.SurfaceNormal.Z = -1f;
906 contact.RelativeSpeed = -vel.Z;
906 AddCollisionEvent(0, contact); 907 AddCollisionEvent(0, contact);
907 908
908 vec.Z *= 0.5f; 909 vec.Z *= 0.5f;