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 (const AZ::EntityId &entityId) |
virtual void | OnPhysicsDisabled (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.