Implementation of the IImpactCollisionWrapper interface that only has a single contact point. Uses the ImpactContactPoint struct.
More...
|
|
int | ContactCount [get] |
| | The number of contacts in the collision.
|
| |
|
PhysicsType | PhysicsType [get] |
| | Whether the source Collision data was 3D or 2D.
|
| |
|
int | ContactCount [get] |
| | The number of contacts in the collision.
|
| |
|
PhysicsType | PhysicsType [get] |
| | Whether the source Collision data was 3D or 2D.
|
| |
Implementation of the IImpactCollisionWrapper interface that only has a single contact point. Uses the ImpactContactPoint struct.
◆ ImpactCollisionSingleContactWrapper()
Initializes the wrapper for 3D or 2D OnTrigger calls.
- Parameters
-
| contactPoint | The source Collision object. |
◆ GetContact()
Returns the contact point.
- Parameters
-
| index | Does nothing for this struct since there is only a single contact point. |
- Returns
- The contact point.