unreal.RigVMFunction_VerletIntegrateVector

class unreal.RigVMFunction_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: RigVMFunction_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:

  • Module: RigVM

  • File: RigVMFunction_Verlet.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceleration (Vector): [Read-Write]

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

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

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

  • position (Vector): [Read-Write]

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

  • target (Vector): [Read-Write]

  • velocity (Vector): [Read-Write]

property acceleration: Vector

[Read-Only]

Type:

(Vector)

property blend: float

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

Type:

(float)

property damp: float

[Read-Write] 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] The force feeding into the solver. Can be used for gravity.

Type:

(Vector)

property position: Vector

[Read-Only]

Type:

(Vector)

property strength: float

[Read-Write] The strength of the verlet spring

Type:

(float)

property target: Vector

[Read-Write]

Type:

(Vector)

property velocity: Vector

[Read-Only]

Type:

(Vector)