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::Spring Struct Reference

Public Member Functions

 Spring (size_t particleA, size_t particleB, float restLength, bool isSupportSpring, bool allowStretch)
 

Public Attributes

size_t m_particleA = ~0UL
 
size_t m_particleB = ~0UL
 
float m_restLength = 0.1f
 
bool m_allowStretch = false
 
bool m_isSupportSpring = false
 

Member Data Documentation

◆ m_allowStretch

bool EMotionFX::SpringSolver::Spring::m_allowStretch = false

Allow this spring to be stretched or compressed? (default=false).

◆ m_isSupportSpring

bool EMotionFX::SpringSolver::Spring::m_isSupportSpring = false

Is this spring a support spring? (default=false).

◆ m_particleA

size_t EMotionFX::SpringSolver::Spring::m_particleA = ~0UL

The first particle index.

◆ m_particleB

size_t EMotionFX::SpringSolver::Spring::m_particleB = ~0UL

The second particle index (the parent).

◆ m_restLength

float EMotionFX::SpringSolver::Spring::m_restLength = 0.1f

The rest length of the spring.


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