add colliders relative velocity projected in collision direction to collisions report information.

This commit is contained in:
UbitUmarov
2012-05-19 00:17:37 +01:00
parent 0d0c472181
commit a7ece8c688
3 changed files with 13 additions and 1 deletions

View File

@@ -59,12 +59,14 @@ namespace OpenSim.Region.Physics.Manager
public Vector3 Position;
public Vector3 SurfaceNormal;
public float PenetrationDepth;
public float RelativeSpeed;
public ContactPoint(Vector3 position, Vector3 surfaceNormal, float penetrationDepth)
{
Position = position;
SurfaceNormal = surfaceNormal;
PenetrationDepth = penetrationDepth;
RelativeSpeed = 0f; // for now let this one be set explicity
}
}