unreal.RigUnit_HierarchySetJointEnabled

class unreal.RigUnit_HierarchySetJointEnabled(execute_pin: RigVMExecutePin = [], physics_joint_component_key: RigComponentKey = Ellipsis, enabled: bool = False)

Bases: RigUnit_PhysicsBaseMutable

Specifies whether a Physics Joint should be enabled or not

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsJointExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • enabled (bool): [Read-Write] Whether or not the joint should be enabled. Disabling the joint will disable any limits and drives

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

  • physics_joint_component_key (RigComponentKey): [Read-Write] The Physics Joint to be updated

property enabled: bool

[Read-Write] Whether or not the joint should be enabled. Disabling the joint will disable any limits and drives

Type:

(bool)

property physics_joint_component_key: RigComponentKey

[Read-Write] The Physics Joint to be updated

Type:

(RigComponentKey)