unreal.RigUnit_TwoBoneIKSimplePerItem
¶
- class unreal.RigUnit_TwoBoneIKSimplePerItem(execute_context: ControlRigExecuteContext = [], item_a: RigElementKey = Ellipsis, item_b: RigElementKey = Ellipsis, effector_item: RigElementKey = Ellipsis, effector: Transform = Ellipsis, primary_axis: Vector = Ellipsis, secondary_axis: Vector = Ellipsis, secondary_axis_weight: float = 0.0, pole_vector: Vector = Ellipsis, pole_vector_kind: ControlRigVectorKind = Ellipsis, pole_vector_space: RigElementKey = Ellipsis, enable_stretch: bool = False, stretch_start_ratio: float = 0.0, stretch_maximum_ratio: float = 0.0, weight: float = 0.0, item_a_length: float = 0.0, item_b_length: float = 0.0, propagate_to_children: bool = False, debug_settings: RigUnit_TwoBoneIKSimple_DebugSettings = Ellipsis)¶
Bases:
RigUnit_HighlevelBaseMutable
Solves the two bone IK given two bones. Note: This node operates in world space!
C++ Source:
Plugin: ControlRig
Module: ControlRig
File: RigUnit_TwoBoneIKSimple.h
Editor Properties: (see get_editor_property/set_editor_property)
debug_settings
(RigUnit_TwoBoneIKSimple_DebugSettings): [Read-Write] The settings for debug drawingeffector
(Transform): [Read-Write] The transform of the effectoreffector_item
(RigElementKey): [Read-Write] The name of the effector item (if exists)enable_stretch
(bool): [Read-Write] If set to true the stretch feature of the solver will be enabledexecute_context
(ControlRigExecuteContext): [Read-Write] * This property is used to chain multiple mutable units togetheritem_a
(RigElementKey): [Read-Write] The name of first itemitem_a_length
(float): [Read-Write] The length of the first item. If set to 0.0 it will be determined by the hierarchyitem_b
(RigElementKey): [Read-Write] The name of second itemitem_b_length
(float): [Read-Write] The length of the second item. If set to 0.0 it will be determined by the hierarchypole_vector
(Vector): [Read-Write] The polevector to use for the IK solver This can be a location or direction.pole_vector_kind
(ControlRigVectorKind): [Read-Write] The kind of pole vector this is representing - can be a direction or a locationpole_vector_space
(RigElementKey): [Read-Write] The space in which the pole vector is expressedprimary_axis
(Vector): [Read-Write] The major axis being aligned - along the itempropagate_to_children
(bool): [Read-Only] If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. Note: This is computationally more expensive than turning it off.secondary_axis
(Vector): [Read-Write] The minor axis being aligned - towards the polevectorsecondary_axis_weight
(float): [Read-Write] Determines how much the secondary axis roll is being appliedstretch_maximum_ratio
(float): [Read-Write] The maximum allowed stretch ratiostretch_start_ratio
(float): [Read-Write] The ratio where the stretch startsweight
(float): [Read-Write] The weight of the solver - how much the IK should be applied.
- property debug_settings: RigUnit_TwoBoneIKSimple_DebugSettings¶
[Read-Write] The settings for debug drawing
- property effector_item: RigElementKey¶
[Read-Write] The name of the effector item (if exists)
- Type:
- property enable_stretch: bool¶
[Read-Write] If set to true the stretch feature of the solver will be enabled
- Type:
(bool)
- property item_a: RigElementKey¶
[Read-Write] The name of first item
- Type:
- property item_a_length: float¶
[Read-Write] The length of the first item. If set to 0.0 it will be determined by the hierarchy
- Type:
(float)
- property item_b: RigElementKey¶
[Read-Write] The name of second item
- Type:
- property item_b_length: float¶
[Read-Write] The length of the second item. If set to 0.0 it will be determined by the hierarchy
- Type:
(float)
- property pole_vector: Vector¶
[Read-Write] The polevector to use for the IK solver This can be a location or direction.
- Type:
(Vector)
- property pole_vector_kind: ControlRigVectorKind¶
[Read-Write] The kind of pole vector this is representing - can be a direction or a location
- Type:
- property pole_vector_space: RigElementKey¶
[Read-Write] The space in which the pole vector is expressed
- Type:
- property primary_axis: Vector¶
[Read-Write] The major axis being aligned - along the item
- Type:
(Vector)
- property propagate_to_children: bool¶
[Read-Only] If set to true all of the global transforms of the children of this bone will be recalculated based on their local transforms. Note: This is computationally more expensive than turning it off.
- Type:
(bool)
- property secondary_axis: Vector¶
[Read-Write] The minor axis being aligned - towards the polevector
- Type:
(Vector)