unreal.RigUnit_TwoBoneIKSimpleVectors
¶
- class unreal.RigUnit_TwoBoneIKSimpleVectors(root: Vector = Ellipsis, pole_vector: Vector = Ellipsis, effector: Vector = Ellipsis, enable_stretch: bool = False, stretch_start_ratio: float = 0.0, stretch_maximum_ratio: float = 0.0, bone_a_length: float = 0.0, bone_b_length: float = 0.0, elbow: Vector = Ellipsis)¶
Bases:
RigUnit_HighlevelBase
Solves the two bone IK given positions 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)
bone_a_length
(float): [Read-Write] Bone ALength: The length of the first bone. If set to 0.0 it will be determined by the hierarchybone_b_length
(float): [Read-Write] Bone BLength: The length of the second bone. If set to 0.0 it will be determined by the hierarchyeffector
(Vector): [Read-Write] Effector: The position of the effectorelbow
(Vector): [Read-Write] Elbow: The resulting elbow positionenable_stretch
(bool): [Read-Write] Enable Stretch: If set to true the stretch feature of the solver will be enabledpole_vector
(Vector): [Read-Write] Pole Vector: The position of the pole of the triangleroot
(Vector): [Read-Write] Root: The position of the root of the trianglestretch_maximum_ratio
(float): [Read-Write] Stretch Maximum Ratio: The maximum allowed stretch ratiostretch_start_ratio
(float): [Read-Write] Stretch Start Ratio: The ratio where the stretch starts
- property bone_a_length: float¶
[Read-Write] Bone ALength: The length of the first bone. If set to 0.0 it will be determined by the hierarchy
- Type:
(float)
- property bone_b_length: float¶
[Read-Write] Bone BLength: The length of the second bone. If set to 0.0 it will be determined by the hierarchy
- Type:
(float)
- property enable_stretch: bool¶
[Read-Write] Enable Stretch: If set to true the stretch feature of the solver will be enabled
- Type:
(bool)
- property pole_vector: Vector¶
[Read-Write] Pole Vector: The position of the pole of the triangle
- Type:
(Vector)