diff options
author | UbitUmarov | 2012-05-19 00:17:37 +0100 |
---|---|---|
committer | UbitUmarov | 2012-05-19 00:17:37 +0100 |
commit | a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff (patch) | |
tree | 2a35bca621caa62a5e9d514d1711df57f0f03bac /OpenSim/Region/Physics/UbitOdePlugin/ODECharacter.cs | |
parent | removed redundant colision sounds. Temporary muted sounds ( returns at top o... (diff) | |
download | opensim-SC_OLD-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.zip opensim-SC_OLD-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.tar.gz opensim-SC_OLD-a7ece8c688a44c0d0b05162dbb1e98a1ea4e95ff.tar.bz2 opensim-SC_OLD-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.cs | 1 |
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; |