unreal.RigUnit_HierarchySetDynamicsConstraintAccelerationMode

class unreal.RigUnit_HierarchySetDynamicsConstraintAccelerationMode(execute_pin: RigVMExecutePin = [], dynamics_constraint_component_key: RigComponentKey = Ellipsis, acceleration_mode: bool = False)

Bases: RigUnit_DynamicsBaseMutable

Sets whether a Dynamics constraint is in acceleration mode (mass-independent natural frequency) or force mode (heavier particles oscillate slower). No effect on Hard constraints.

C++ Source:

  • Plugin: ControlRigDynamics

  • Module: ControlRigDynamics

  • File: RigDynamicsConstraintExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • acceleration_mode (bool): [Read-Write] True (default) for mass-independent natural frequency; false for a true force-mode spring.

  • dynamics_constraint_component_key (RigComponentKey): [Read-Write] The Dynamics Constraint to be updated

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

property acceleration_mode: bool

[Read-Write] True (default) for mass-independent natural frequency; false for a true force-mode spring.

Type:

(bool)

property dynamics_constraint_component_key: RigComponentKey

[Read-Write] The Dynamics Constraint to be updated

Type:

(RigComponentKey)