Stores information about the contacts between two overlapping shapes.  
 More...
#include <CollisionEvents.h>
 | 
| 
  | AZ_TYPE_INFO (Contact, "{D7439508-ED10-4395-9D48-1FC3D7815361}") | 
|   | 
 | 
| 
static void  | Reflect (AZ::ReflectContext *context) | 
|   | 
 | 
| 
  | AZ_CLASS_ALLOCATOR_DECL | 
|   | 
| 
AZ::Vector3  | m_position | 
|   | The position of the contact. 
  | 
|   | 
| 
AZ::Vector3  | m_normal | 
|   | The normal of the contact. 
  | 
|   | 
| 
AZ::Vector3  | m_impulse | 
|   | The impulse force applied to separate the bodies. 
  | 
|   | 
| 
AZ::u32  | m_internalFaceIndex01 = 0 | 
|   | Internal face index of the first shape. 
  | 
|   | 
| 
AZ::u32  | m_internalFaceIndex02 = 0 | 
|   | Internal face index of the second shape. 
  | 
|   | 
| 
float  | m_separation = 0.0f | 
|   | The separation. 
  | 
|   | 
Stores information about the contacts between two overlapping shapes. 
The documentation for this struct was generated from the following file:
- Code/Framework/AzFramework/AzFramework/Physics/Collision/CollisionEvents.h