Open 3D Engine EMotionFX Gem API Reference 23.10.0
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
EMotionFX::SimulatedObject Class Reference

Inherits EMotionFX::SimulatedCommon.

Public Member Functions

AZ_CLASS_ALLOCATOR_DECL AZ_RTTI (SimulatedObject, "{8CF0F474-69DC-4DE3-AF19-002F19DA27DB}", SimulatedCommon)
 
 SimulatedObject (SimulatedObjectSetup *setup, const AZStd::string &objectName={})
 
void Clear ()
 
SimulatedJointFindSimulatedJointBySkeletonJointIndex (size_t skeletonJointIndex) const
 
bool ContainsSimulatedJoint (const SimulatedJoint *joint) const
 
SimulatedJointAddSimulatedJoint (size_t jointIndex)
 
void AddSimulatedJoints (AZStd::vector< size_t > jointIndexes)
 
void AddSimulatedJointAndChildren (size_t jointIndex)
 
void RemoveSimulatedJoint (size_t jointIndex, bool removeChildren=false)
 
size_t GetNumSimulatedJoints () const
 
SimulatedJointGetSimulatedRootJoint (size_t rootIndex) const
 
size_t GetNumSimulatedRootJoints () const
 
size_t GetSimulatedRootJointIndex (const SimulatedJoint *rootJoint) const
 
const AZStd::vector< SimulatedJoint * > & GetSimulatedJoints () const
 
const SimulatedObjectSetupGetSimulatedObjectSetup () const
 
SimulatedJointGetSimulatedJoint (size_t index) const
 
void InitAfterLoading (SimulatedObjectSetup *setup)
 
const AZStd::vector< AZStd::string > & GetColliderTags () const
 
void SetColliderTags (const AZStd::vector< AZStd::string > &tags)
 
const AZStd::string & GetName () const
 
void SetName (const AZStd::string &newName)
 
float GetGravityFactor () const
 
void SetGravityFactor (float newGravityFactor)
 
float GetStiffnessFactor () const
 
void SetStiffnessFactor (float newStiffnessFactor)
 
float GetDampingFactor () const
 
void SetDampingFactor (float newDampingFactor)
 
- Public Member Functions inherited from EMotionFX::SimulatedCommon
AZ_CLASS_ALLOCATOR_DECL AZ_RTTI (SimulatedCommon, "{CAABEF38-EBE6-4C39-B579-88228CE85B35}")
 

Static Public Member Functions

static void Reflect (AZ::ReflectContext *context)
 

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