Skip to main content

Class SpringUtils.tDampedSpringMotionParams

Cached set of motion parameters that can be used to efficiently update multiple springs using the same time step, angular frequency and damping ratio.

public class SpringUtils.tDampedSpringMotionParams

Inheritance​

Fields​

m_posPosCoef​

Coefficient for position based on prior position.

public float m_posPosCoef

Field Value​

float

m_posVelCoef​

Coefficient for position based on prior velocity.

public float m_posVelCoef

Field Value​

float

m_velPosCoef​

Coefficient for velocity based on prior position.

public float m_velPosCoef

Field Value​

float

m_velVelCoef​

Coefficient for velocity based on prior velocity.

public float m_velVelCoef

Field Value​

float

  • Fields
    • m_posPosCoef
    • m_posVelCoef
    • m_velPosCoef
    • m_velVelCoef