unreal.RigUnit_HierarchySetControlLinearDampingRatio

class unreal.RigUnit_HierarchySetControlLinearDampingRatio(execute_pin: RigVMExecutePin = [], physics_control_component_key: RigComponentKey = Ellipsis, damping_ratio: float = 0.0)

Bases: RigUnit_PhysicsBaseMutable

Sets the Linear Damping Ratio of a Physics Control

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsControlExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • damping_ratio (float): [Read-Write] The linear damping ratio for the control. When this is 1, there is just enough damping to stop the control from oscillating about its target, due to the control strength (in the absence of any other influences). Values above this will add more damping, and values below will make the system tend to oscillate, as it will be under-ramped.

  • execute_pin (RigVMExecutePin): [Read-Write] This property is used to chain multiple mutable units together

  • physics_control_component_key (RigComponentKey): [Read-Write] The Physics Control component to be updated

property damping_ratio: float

[Read-Write] The linear damping ratio for the control. When this is 1, there is just enough damping to stop the control from oscillating about its target, due to the control strength (in the absence of any other influences). Values above this will add more damping, and values below will make the system tend to oscillate, as it will be under-ramped.

Type:

(float)

property physics_control_component_key: RigComponentKey

[Read-Write] The Physics Control component to be updated

Type:

(RigComponentKey)