Component used to simulate a hierarchy of rigid bodies connected by joints, typically used for characters.
More...
#include <RagdollComponent.h>
Inherits AZ::Component, AzFramework::RagdollPhysicsRequestBus::Handler, AzPhysics::SimulatedBodyComponentRequestsBus::Handler, and AzFramework::CharacterPhysicsDataNotificationBus::Handler.
|
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) |
|
|
void | Init () override |
|
void | Activate () override |
|
void | Deactivate () override |
|
void | EnableSimulation (const Physics::RagdollState &initialState) override |
|
void | EnableSimulationQueued (const Physics::RagdollState &initialState) override |
|
void | DisableSimulation () override |
|
void | DisableSimulationQueued () override |
|
Physics::Ragdoll * | GetRagdoll () override |
|
void | GetState (Physics::RagdollState &ragdollState) const override |
|
void | SetState (const Physics::RagdollState &ragdollState) override |
|
void | SetStateQueued (const Physics::RagdollState &ragdollState) override |
|
void | GetNodeState (size_t nodeIndex, Physics::RagdollNodeState &nodeState) const override |
|
void | SetNodeState (size_t nodeIndex, const Physics::RagdollNodeState &nodeState) override |
|
Physics::RagdollNode * | GetNode (size_t nodeIndex) const override |
|
void | EnablePhysics () override |
|
void | DisablePhysics () override |
|
bool | IsPhysicsEnabled () const override |
|
AZ::Aabb | GetAabb () const override |
|
AzPhysics::SimulatedBody * | GetSimulatedBody () override |
|
AzPhysics::SimulatedBodyHandle | GetSimulatedBodyHandle () const override |
|
AzPhysics::SceneQueryHit | RayCast (const AzPhysics::RayCastRequest &request) override |
|
void | OnRagdollConfigurationReady (const Physics::RagdollConfiguration &ragdollConfiguration) override |
|
void | EnterRagdoll () override |
|
void | ExitRagdoll () override |
|
Component used to simulate a hierarchy of rigid bodies connected by joints, typically used for characters.
The documentation for this class was generated from the following file:
- Gems/PhysX/Core/Code/Source/PhysXCharacters/Components/RagdollComponent.h