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::ActorData Class Reference

#include <UserDataTypes.h>

Public Member Functions

 ActorData (physx::PxActor *actor)
 
 ActorData (ActorData &&actorData)
 
ActorDataoperator= (ActorData &&actorData)
 
void Invalidate ()
 
AZ::EntityId GetEntityId () const
 
void SetEntityId (AZ::EntityId entityId)
 
AzPhysics::SimulatedBodyHandle GetBodyHandle () const
 
AzPhysics::RigidBody * GetRigidBody () const
 
void SetRigidBody (AzPhysics::RigidBody *rigidBody)
 
AzPhysics::StaticRigidBody * GetRigidBodyStatic () const
 
void SetRigidBodyStatic (AzPhysics::StaticRigidBody *rigidBody)
 
Physics::Character * GetCharacter () const
 
void SetCharacter (Physics::Character *character)
 
Physics::RagdollNode * GetRagdollNode () const
 
void SetRagdollNode (Physics::RagdollNode *ragdollNode)
 
AzPhysics::SimulatedBody * GetArticulationLink ()
 
void SetArticulationLink (AzPhysics::SimulatedBody *articulationLink)
 
AzPhysics::SimulatedBody * GetSimulatedBody () const
 
bool IsValid () const
 

Detailed Description

PxActor.userData is the custom data pointer that NVIDIA PhysX provides for applications to attach private data. The PhysX Gem requires that this userData points to ActorData objects.


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