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/Manager/PhysicsActor.cs | |
parent | removed redundant colision sounds. Temporary muted sounds ( returns at top o... (diff) | |
download | opensim-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/Manager/PhysicsActor.cs')
-rw-r--r-- | OpenSim/Region/Physics/Manager/PhysicsActor.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Physics/Manager/PhysicsActor.cs b/OpenSim/Region/Physics/Manager/PhysicsActor.cs index b66d7f1..fb90887 100644 --- a/OpenSim/Region/Physics/Manager/PhysicsActor.cs +++ b/OpenSim/Region/Physics/Manager/PhysicsActor.cs | |||
@@ -59,12 +59,14 @@ namespace OpenSim.Region.Physics.Manager | |||
59 | public Vector3 Position; | 59 | public Vector3 Position; |
60 | public Vector3 SurfaceNormal; | 60 | public Vector3 SurfaceNormal; |
61 | public float PenetrationDepth; | 61 | public float PenetrationDepth; |
62 | public float RelativeSpeed; | ||
62 | 63 | ||
63 | public ContactPoint(Vector3 position, Vector3 surfaceNormal, float penetrationDepth) | 64 | public ContactPoint(Vector3 position, Vector3 surfaceNormal, float penetrationDepth) |
64 | { | 65 | { |
65 | Position = position; | 66 | Position = position; |
66 | SurfaceNormal = surfaceNormal; | 67 | SurfaceNormal = surfaceNormal; |
67 | PenetrationDepth = penetrationDepth; | 68 | PenetrationDepth = penetrationDepth; |
69 | RelativeSpeed = 0f; // for now let this one be set explicity | ||
68 | } | 70 | } |
69 | } | 71 | } |
70 | 72 | ||