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::RagdollVelocityEvaluator Class Referenceabstract

Inherited by EMotionFX::MovingAverageVelocityEvaluator, and EMotionFX::RunningAverageVelocityEvaluator.

Public Member Functions

virtual void CalculateVelocities (Physics::RagdollState &outRagdollPose, const Physics::RagdollState &lastRagdollPose, const Physics::RagdollState &currentRagdollPose, float timeDelta)
 Calculate the linear and angular velocities for all nodes in the ragdoll based on the last, the current poses and the time delta.
 
virtual void Update (const Physics::RagdollState &lastRagdollPose, const Physics::RagdollState &currentRagdollPose, float timeDelta)=0
 
virtual void CalculateInitialVelocities (Physics::RagdollState &outRagdollPose)=0
 This is called when the ragdoll gets activated.
 

Member Function Documentation

◆ CalculateInitialVelocities()

virtual void EMotionFX::RagdollVelocityEvaluator::CalculateInitialVelocities ( Physics::RagdollState &  outRagdollPose)
pure virtual

This is called when the ragdoll gets activated.

Implemented in EMotionFX::MovingAverageVelocityEvaluator, and EMotionFX::RunningAverageVelocityEvaluator.


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