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.
|
Notifications interface for a rigid body (static or dynamic). More...
#include <RigidBodyBus.h>
Inherits AZ::ComponentBus.
Public Types | |
template<class Bus > | |
using | ConnectionPolicy = RigidBodyNotificationsConnectionPolicy< Bus > |
Public Member Functions | |
virtual void | OnPhysicsEnabled ([[maybe_unused]] const AZ::EntityId &entityId) |
virtual void | OnPhysicsDisabled ([[maybe_unused]] const AZ::EntityId &entityId) |
Notifications interface for a rigid body (static or dynamic).
using Physics::RigidBodyNotifications::ConnectionPolicy = RigidBodyNotificationsConnectionPolicy<Bus> |
With this connection policy, RigidBodyNotifications::OnPhysicsEnabled and RigidBodyNotifications::OnPhysicsDisabled events will be immediately dispatched when a handler connects to the bus.