unreal.RigUnit_HierarchySetPhysicsBodyTargetBone

class unreal.RigUnit_HierarchySetPhysicsBodyTargetBone(execute_pin: RigVMExecutePin = [], physics_body_component_key: RigComponentKey = Ellipsis, target_bone: RigElementKey = Ellipsis)

Bases: RigUnit_PhysicsBaseMutable

Sets what bone is targeted by the simulation - i.e. where the simulation output is written to.

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsBodyExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

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

  • physics_body_component_key (RigComponentKey): [Read-Write]

  • target_bone (RigElementKey): [Read-Write]

property physics_body_component_key: RigComponentKey

[Read-Write]

Type:

(RigComponentKey)

property target_bone: RigElementKey

[Read-Write]

Type:

(RigElementKey)