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 specific implementation of generic physics API Ragdoll class. More...
#include <Ragdoll.h>
Inherits Physics::Ragdoll.
Public Member Functions | |
AZ_CLASS_ALLOCATOR (Ragdoll, AZ::SystemAllocator) | |
AZ_RTTI (PhysX::Ragdoll, "{55D477B5-B922-4D3E-89FE-7FB7B9FDD635}", Physics::Ragdoll) | |
Ragdoll (AzPhysics::SceneHandle sceneHandle) | |
Ragdoll (const Ragdoll &)=delete | |
void | AddNode (AZStd::unique_ptr< RagdollNode > node) |
void | SetParentIndices (const Physics::ParentIndices &parentIndices) |
void | SetRootIndex (size_t nodeIndex) |
physx::PxRigidDynamic * | GetPxRigidDynamic (size_t nodeIndex) const |
physx::PxTransform | GetRootPxTransform () const |
void | EnableSimulation (const Physics::RagdollState &initialState) override |
void | EnableSimulationQueued (const Physics::RagdollState &initialState) override |
void | DisableSimulation () override |
void | DisableSimulationQueued () override |
bool | IsSimulated () const 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 |
size_t | GetNumNodes () const override |
AZ::EntityId | GetEntityId () const override |
AzPhysics::Scene * | GetScene () override |
AZ::Transform | GetTransform () const override |
void | SetTransform (const AZ::Transform &transform) override |
AZ::Vector3 | GetPosition () const override |
AZ::Quaternion | GetOrientation () const override |
AZ::Aabb | GetAabb () const override |
AzPhysics::SceneQueryHit | RayCast (const AzPhysics::RayCastRequest &request) override |
AZ::Crc32 | GetNativeType () const override |
void * | GetNativePointer () const override |
Static Public Member Functions | |
static void | Reflect (AZ::ReflectContext *context) |
Friends | |
class | RagdollComponent |
PhysX specific implementation of generic physics API Ragdoll class.