unreal.RigUnit_SpringInterpVector

class unreal.RigUnit_SpringInterpVector(current: Vector = Ellipsis, target: Vector = Ellipsis, stiffness: float = 0.0, critical_damping: float = 0.0, mass: float = 0.0, result: Vector = Ellipsis)

Bases: RigVMFunction_SimBase

Uses a simple spring model to interpolate a vector from Current to Target.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_SpringInterp.h

Editor Properties: (see get_editor_property/set_editor_property)

  • critical_damping (float): [Read-Write]

  • current (Vector): [Read-Write]

  • mass (float): [Read-Write]

  • result (Vector): [Read-Write]

  • stiffness (float): [Read-Write]

  • target (Vector): [Read-Write]

property critical_damping: float

[Read-Write]

Type:

(float)

property current: Vector

[Read-Write]

Type:

(Vector)

property mass: float

[Read-Write]

Type:

(float)

property result: Vector

[Read-Only]

Type:

(Vector)

property stiffness: float

[Read-Write]

Type:

(float)

property target: Vector

[Read-Write]

Type:

(Vector)