Open 3D Engine EMotionFX 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.
EMotionFX::PhysicsSetup Class Reference

Public Types

enum  ColliderConfigType {
  HitDetection = 0 , Ragdoll = 1 , Cloth = 2 , SimulatedObjectCollider = 3 ,
  Unknown = 4
}
 

Public Member Functions

Physics::CharacterColliderConfiguration & GetHitDetectionConfig ()
 
Physics::RagdollConfiguration & GetRagdollConfig ()
 
const Physics::RagdollConfiguration & GetRagdollConfig () const
 
Physics::AnimationConfiguration & GetConfig ()
 
Physics::CharacterColliderConfiguration * GetColliderConfigByType (ColliderConfigType configType)
 
const NodeFindRagdollParentNode (const Node *node) const
 
Physics::CharacterColliderConfiguration & GetClothConfig ()
 
const Physics::CharacterColliderConfiguration & GetClothConfig () const
 
Physics::CharacterColliderConfiguration & GetSimulatedObjectColliderConfig ()
 
const Physics::CharacterColliderConfiguration & GetSimulatedObjectColliderConfig () const
 
void LogRagdollConfig (Actor *actor, const char *title)
 
void OptimizeForServer ()
 

Static Public Member Functions

static const char * GetStringForColliderConfigType (ColliderConfigType configType)
 
static const char * GetVisualNameForColliderConfigType (ColliderConfigType configType)
 
static ColliderConfigType GetColliderConfigTypeFromString (const AZStd::string &configTypeString)
 
static AZ::Outcome< AzPhysics::ShapeColliderPair > CreateColliderByType (const AZ::TypeId &typeId)
 
static AZ::Outcome< AzPhysics::ShapeColliderPair > CreateColliderByType (const AZ::TypeId &typeId, AZStd::string &outResult)
 
static void AutoSizeCollider (AzPhysics::ShapeColliderPair &collider, const Actor *actor, const Node *node)
 
static void Reflect (AZ::ReflectContext *context)
 

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