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.
|
Trigger event raised when an object enters/exits a trigger shape. More...
#include <CollisionEvents.h>
Public Types | |
enum class | Type : AZ::u8 { Enter , Exit } |
Public Member Functions | |
AZ_TYPE_INFO (TriggerEvent, "{7A0851A3-2CBD-4A03-85D5-1C40221E7F61}") | |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Public Attributes | |
AZ_CLASS_ALLOCATOR_DECL | |
Type | m_type |
SimulatedBodyHandle | m_triggerBodyHandle = AzPhysics::InvalidSimulatedBodyHandle |
The type of trigger event. More... | |
SimulatedBody * | m_triggerBody = nullptr |
The trigger body. | |
Physics::Shape * | m_triggerShape = nullptr |
The trigger shape. | |
SimulatedBodyHandle | m_otherBodyHandle = AzPhysics::InvalidSimulatedBodyHandle |
Handle to the body that entered the trigger. | |
SimulatedBody * | m_otherBody = nullptr |
The other body that entered the trigger. | |
Physics::Shape * | m_otherShape = nullptr |
The other shape that entered the trigger. | |
Trigger event raised when an object enters/exits a trigger shape.
SimulatedBodyHandle AzPhysics::TriggerEvent::m_triggerBodyHandle = AzPhysics::InvalidSimulatedBodyHandle |
The type of trigger event.
Handle to the trigger body