Implementation of the IImpactCollisionWrapper interface. 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. Uses the ImpactContactPoint struct. 
 
◆ ImpactCollisionWrapper() [1/2]
      
        
          | Impact.ImpactCollisionWrapper.ImpactCollisionWrapper  | 
          ( | 
          Collision  | 
          collision3D | ) | 
           | 
        
      
 
Initializes the wrapper for 3D collisions. 
- Parameters
 - 
  
    | collision3D | The source Collision object. | 
  
   
 
 
◆ ImpactCollisionWrapper() [2/2]
      
        
          | Impact.ImpactCollisionWrapper.ImpactCollisionWrapper  | 
          ( | 
          Collision2D  | 
          collision2D | ) | 
           | 
        
      
 
Initializes the wrapper for 2D collisions. 
- Parameters
 - 
  
    | collision2D | The source Collision2D object. | 
  
   
 
 
◆ GetContact()
Returns the contact point at the given index. 
- Parameters
 - 
  
    | index | The index of the contact point to get. Make sure this is less than ContactCount. | 
  
   
- Returns
 - The contact point.