unreal.RigUnit_AddPhysicsControl¶
- class unreal.RigUnit_AddPhysicsControl(execute_pin: RigVMExecutePin = [], owner: RigElementKey = Ellipsis, control_component_key: RigComponentKey = Ellipsis, parent_body_component_key: RigComponentKey = Ellipsis, use_parent_body_as_default: bool = False, child_body_component_key: RigComponentKey = Ellipsis, control_data: PhysicsControlData = Ellipsis, control_multiplier: PhysicsControlMultiplier = Ellipsis, control_target: PhysicsControlTarget = Ellipsis)¶
Bases:
RigUnit_PhysicsBaseMutableAdds a new physics control as a component on the owner element. Note: This node only runs as part of the construction event.
C++ Source:
Plugin: ControlRigPhysics
Module: ControlRigPhysics
File: RigPhysicsControlExecution.h
Editor Properties: (see get_editor_property/set_editor_property)
child_body_component_key(RigComponentKey): [Read-Write] The body that is controlledcontrol_component_key(RigComponentKey): [Read-Write]control_data(PhysicsControlData): [Read-Write] Describes the initial strength etc of the new controlcontrol_multiplier(PhysicsControlMultiplier): [Read-Write] Fine control over the control strengths etccontrol_target(PhysicsControlTarget): [Read-Write] Describes the initial target for the new controlexecute_pin(RigVMExecutePin): [Read-Write] * This property is used to chain multiple mutable units togetherowner(RigElementKey): [Read-Write] The owner of the newly created component (must be set/valid)parent_body_component_key(RigComponentKey): [Read-Write] The optional body that “does” the controlling - though if it is dynamic then it can move toouse_parent_body_as_default(bool): [Read-Write]
- property child_body_component_key: RigComponentKey¶
[Read-Write] The body that is controlled
- Type:
- property control_component_key: RigComponentKey¶
[Read-Only]
- Type:
- property control_data: PhysicsControlData¶
[Read-Write] Describes the initial strength etc of the new control
- Type:
- property control_multiplier: PhysicsControlMultiplier¶
[Read-Write] Fine control over the control strengths etc
- Type:
- property control_target: PhysicsControlTarget¶
[Read-Write] Describes the initial target for the new control
- Type:
- property owner: RigElementKey¶
[Read-Write] The owner of the newly created component (must be set/valid)
- Type:
- property parent_body_component_key: RigComponentKey¶
[Read-Write] The optional body that “does” the controlling - though if it is dynamic then it can move too
- Type: