unreal.RigUnit_VerletIntegrateVector

class unreal.RigUnit_VerletIntegrateVector(target: Vector = Ellipsis, strength: float = 0.0, damp: float = 0.0, blend: float = 0.0, force: Vector = Ellipsis, position: Vector = Ellipsis, velocity: Vector = Ellipsis, acceleration: Vector = Ellipsis)

Bases: RigUnit_SimBase

Simulates a single position over time using Verlet integration. It is recommended to use SpringInterp instead as it is more accurate and stable, and has more meaningful parameters.

C++ Source:

  • Plugin: ControlRig

  • Module: ControlRig

  • File: RigUnit_Verlet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceleration (Vector): [Read-Write] Acceleration

  • blend (float): [Read-Write] Blend: The amount of blending to apply per second

  • damp (float): [Read-Write] Damp: The amount of damping to apply ( 0.0 to 1.0, but usually really low like 0.005 )

  • force (Vector): [Read-Write] Force: The force feeding into the solver. Can be used for gravity.

  • position (Vector): [Read-Write] Position

  • strength (float): [Read-Write] Strength: The strength of the verlet spring

  • target (Vector): [Read-Write] Target

  • velocity (Vector): [Read-Write] Velocity

property acceleration: Vector

[Read-Only] Acceleration

Type:

(Vector)

property blend: float

[Read-Write] Blend: The amount of blending to apply per second

Type:

(float)

property damp: float

[Read-Write] Damp: The amount of damping to apply ( 0.0 to 1.0, but usually really low like 0.005 )

Type:

(float)

property force: Vector

[Read-Write] Force: The force feeding into the solver. Can be used for gravity.

Type:

(Vector)

property position: Vector

[Read-Only] Position

Type:

(Vector)

property strength: float

[Read-Write] Strength: The strength of the verlet spring

Type:

(float)

property target: Vector

[Read-Write] Target

Type:

(Vector)

property velocity: Vector

[Read-Only] Velocity

Type:

(Vector)