Contact Properties |
The Contact type exposes the following members.
Name | Description | |
---|---|---|
FeatureA |
Gets or sets the index of the shape feature of object A that was hit.
| |
FeatureB |
Gets or sets the index of the shape feature of object B that was hit.
| |
IsRayHit |
Gets a value indicating whether this contact is a hit by a ray.
| |
Lifetime |
Gets or sets the lifetime of this contact (in seconds).
| |
Normal |
Gets or sets the normalized contact normal (pointing from object A to object B; in world space).
| |
PenetrationDepth |
Gets or sets the penetration depth.
| |
Position |
Gets or sets the contact position (in world space).
| |
PositionALocal |
Gets or sets the contact position on object A in the local space of object A.
| |
PositionAWorld |
Gets the contact position on object A (in world space).
| |
PositionBLocal |
Gets or sets the contact position on object B in the local space of object B.
| |
PositionBWorld |
Gets the contact position on object B (in world space).
| |
Swapped |
Gets a copy of the contact where the collision objects are swapped.
| |
UserData |
Gets or sets the user data.
|