Open 3D Engine AzFramework API Reference
24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
|
Stores information about the contacts between two overlapping shapes. More...
#include <CollisionEvents.h>
Public Member Functions | |
AZ_TYPE_INFO (Contact, "{D7439508-ED10-4395-9D48-1FC3D7815361}") | |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
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.