Click or drag to resize
DigitalRuneContact Properties

The Contact type exposes the following members.

Properties
  NameDescription
Public propertyFeatureA
Gets or sets the index of the shape feature of object A that was hit.
Public propertyFeatureB
Gets or sets the index of the shape feature of object B that was hit.
Public propertyIsRayHit
Gets a value indicating whether this contact is a hit by a ray.
Public propertyLifetime
Gets or sets the lifetime of this contact (in seconds).
Public propertyNormal
Gets or sets the normalized contact normal (pointing from object A to object B; in world space).
Public propertyPenetrationDepth
Gets or sets the penetration depth.
Public propertyPosition
Gets or sets the contact position (in world space).
Public propertyPositionALocal
Gets or sets the contact position on object A in the local space of object A.
Public propertyPositionAWorld
Gets the contact position on object A (in world space).
Public propertyPositionBLocal
Gets or sets the contact position on object B in the local space of object B.
Public propertyPositionBWorld
Gets the contact position on object B (in world space).
Public propertySwapped
Gets a copy of the contact where the collision objects are swapped.
Public propertyUserData
Gets or sets the user data.
Top
See Also