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::SpringSolver::Particle Struct Reference

Public Attributes

const SimulatedJointm_joint = nullptr
 
AZ::Vector3 m_pos = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_oldPos = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_force = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_externalForce = AZ::Vector3::CreateZero()
 
AZ::Vector3 m_limitDir = AZ::Vector3::CreateZero()
 
AZStd::vector< size_t > m_colliderExclusions
 
size_t m_parentParticleIndex = InvalidIndex
 

Member Data Documentation

◆ m_colliderExclusions

AZStd::vector<size_t> EMotionFX::SpringSolver::Particle::m_colliderExclusions

Index values inside the collider array. Colliders listed in this list should be ignored durin collision detection.

◆ m_externalForce

AZ::Vector3 EMotionFX::SpringSolver::Particle::m_externalForce = AZ::Vector3::CreateZero()

A user defined external force, which is added on top of the internal force. Can be used to simulate wind etc.

◆ m_force

AZ::Vector3 EMotionFX::SpringSolver::Particle::m_force = AZ::Vector3::CreateZero()

The internal force, which contains the gravity and other pulling and pushing forces.

◆ m_limitDir

AZ::Vector3 EMotionFX::SpringSolver::Particle::m_limitDir = AZ::Vector3::CreateZero()

The joint limit direction vector, used for the cone angle limit. This is the center direction of the cone.

◆ m_oldPos

AZ::Vector3 EMotionFX::SpringSolver::Particle::m_oldPos = AZ::Vector3::CreateZero()

The previous position of the particle.

◆ m_parentParticleIndex

size_t EMotionFX::SpringSolver::Particle::m_parentParticleIndex = InvalidIndex

The parent particle index.

◆ m_pos

AZ::Vector3 EMotionFX::SpringSolver::Particle::m_pos = AZ::Vector3::CreateZero()

The current (desired) particle position, in world space.


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