unreal.CRSimLinearSpring

class unreal.CRSimLinearSpring

Bases: StructBase

CRSim Linear Spring

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: CRSimLinearSpring.h

Editor Properties: (see get_editor_property/set_editor_property)

  • coefficient (float): [Read-Write] Coefficient: The power of this spring

  • equilibrium (float): [Read-Write] Equilibrium: The rest length of this spring. A value of lower than zero indicates that the equilibrium should be based on the current distance of the two subjects.

  • subject_a (int32): [Read-Write] Subject A: The first point affected by this spring

  • subject_b (int32): [Read-Write] Subject B: The second point affected by this spring