Impact Interaction System API
Impact.IImpactCollisionWrapper< T > Interface Template Reference

A wrapper interface for consolidating 3D and 2D collision data. More...

Public Member Functions

GetContact (int index)
 Returns the contact point at the given index. More...
 

Properties

int ContactCount [get]
 The number of contacts in the collision.
 
PhysicsType PhysicsType [get]
 Whether the source Collision data was 3D or 2D.
 

Detailed Description

A wrapper interface for consolidating 3D and 2D collision data.

Type Constraints
T :IImpactContactPoint 

Member Function Documentation

◆ GetContact()

T Impact.IImpactCollisionWrapper< T >.GetContact ( int  index)

Returns the contact point at the given index.

Parameters
indexThe index of the contact point to get. Make sure this is less than ContactCount.
Returns
The contact point.