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.
PhysX::EditorRigidBodyComponent Class Reference

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
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 
static void GetProvidedServices (AZ::ComponentDescriptor::DependencyArrayType &provided)
 
static void GetIncompatibleServices (AZ::ComponentDescriptor::DependencyArrayType &incompatible)
 
static void GetRequiredServices (AZ::ComponentDescriptor::DependencyArrayType &required)
 
static void GetDependentServices (AZ::ComponentDescriptor::DependencyArrayType &dependent)
 

Detailed Description

Class for in-editor PhysX Dynamic Rigid Body Component.


The documentation for this class was generated from the following file: