unreal.RigUnit_HierarchyUpdateControlTarget

class unreal.RigUnit_HierarchyUpdateControlTarget(execute_pin: RigVMExecutePin = [], physics_control_component_key: RigComponentKey = Ellipsis, target_position: Vector = Ellipsis, target_orientation: Rotator = Ellipsis, delta_time: float = 0.0)

Bases: RigUnit_PhysicsBaseMutable

Sets the target for a physics control and updates the target velocities based on the previews targets (which will be overwritten)

C++ Source:

  • Plugin: ControlRigPhysics

  • Module: ControlRigPhysics

  • File: RigPhysicsControlExecution.h

Editor Properties: (see get_editor_property/set_editor_property)

  • delta_time (float): [Read-Write] The delta time used to calculate the target velocity

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

  • physics_control_component_key (RigComponentKey): [Read-Write]

  • target_orientation (Rotator): [Read-Write] The target orientation of the child body, relative to the parent body

  • target_position (Vector): [Read-Write] The target position of the child body, relative to the parent body

property delta_time: float

[Read-Write] The delta time used to calculate the target velocity

Type:

(float)

property physics_control_component_key: RigComponentKey

[Read-Write]

Type:

(RigComponentKey)

property target_orientation: Rotator

[Read-Write] The target orientation of the child body, relative to the parent body

Type:

(Rotator)

property target_position: Vector

[Read-Write] The target position of the child body, relative to the parent body

Type:

(Vector)