Open 3D Engine PhysX Gem 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.
|
Class for in-editor PhysX Dynamic Rigid Body Component. More...
#include <EditorRigidBodyComponent.h>
Inherits AzToolsFramework::Components::EditorComponentBase, AZ::EntityBus::Handler, AzFramework::EntityDebugDisplayEventBus::Handler, AZ::TransformNotificationBus::Handler, Physics::ColliderComponentEventBus::Handler, AzPhysics::SimulatedBodyComponentRequestsBus::Handler, AzFramework::BoundsRequestBus::Handler, and AzToolsFramework::EditorComponentSelectionRequestsBus::Handler.
Public Member Functions | |
AZ_EDITOR_COMPONENT (EditorRigidBodyComponent, "{F2478E6B-001A-4006-9D7E-DCB5A6B041DD}", AzToolsFramework::Components::EditorComponentBase) | |
EditorRigidBodyComponent (const EditorRigidBodyConfiguration &configuration) | |
EditorRigidBodyComponent (const EditorRigidBodyConfiguration &configuration, const RigidBodyConfiguration &physxSpecificConfiguration) | |
void | Activate () override |
void | Deactivate () override |
void | OnEntityActivated (const AZ::EntityId &entityId) override |
AZ::Aabb | GetWorldBounds () const override |
AZ::Aabb | GetLocalBounds () const override |
void | BuildGameEntity (AZ::Entity *gameEntity) override |
const AzPhysics::RigidBody * | GetRigidBody () const |
Class for in-editor PhysX Dynamic Rigid Body Component.