GENERAL
ROTORS
DocumentationBAS 1.0

Node reference / Skeletal controls

Two Bone IK

Rotate a three-bone chain so that its tip reaches a target. A pole position controls the bend direction.

Two Bone IK connected in the BAS Graph Editor
Two Bone IK in an example graph. Follow the wires to see where the pose goes. Select the image to open it at full size.

How it works

Root, Joint and Tip form a parent-to-child chain. The solver changes the root and joint rotations while retaining segment lengths.

Target and Pole mode reads target and pole positions. Goal Bone mode reads the position and rotation of a separate goal bone.

Tip Rotation controls the tip after a target solve. Goal Bone mode always uses the goal rotation. Targets beyond reach are limited by the chain length.

Inputs and output

PortTypeFunction
SourceOrdinary poseThe input pose to change.
WeightFloatBlend the control result with the source. The default is 1.
Target PositionVector3Default uses the incoming tip position.
Pole PositionVector3Default uses the incoming joint position.
Target RotationQuaternionUsed with Copy From Target tip rotation.
PoseOutputThe pose after the weighted IK result.

Settings

SettingDefaultFunction
Target ModeTarget and PoleSelect Target and Pole positions, or use a Goal Bone.
Root / Joint / TipUnassignedBind the upper arm, forearm and hand, or another three-bone chain.
GoalUnassignedBind a separate goal in Goal Bone mode. It is not part of the solve chain.
Input spaceComponentEach active target input can choose its own frame.
Tip RotationKeep LocalKeep Local, Keep Component, or Copy From Target. Target Rotation appears for Copy From Target.
Weight1Control influence, clamped to 0 to 1.
LOD ThresholdDisabledAbove the selected level, pass the source through and keep control state.
Common node controls

Name changes the canvas label. Type identifies the node and is read-only. Advanced shows structural pose connections and retained data.

Scalar input rows can use a stored constant or a compatible connected source. Use Show as Pin where available to show an optional input on the card. The selected source supplies the value.

Preview model selects the model used to resolve bone choices in the picker. Bone references can identify Humanoid roles or transform paths. The picker does not replace the graph character model.

Control input sources

SettingFunction
DefaultUse the incoming-pose value described for the input. Offsets use zero or identity defaults.
ConstantUse the typed value stored on the node. Rotation fields show Yaw, Pitch and Roll in degrees and store a quaternion.
VariableRead a compatible input binding.
Inactive inputsChanging a mode retains inactive settings. Only the active inputs affect the control.

Input spaces

SettingFunction
Parent BoneUse the parent frame of the input space bone.
BoneUse the frame of the input space bone itself.
ComponentUse the prepared skeleton model frame.
WorldUse the scene frame, including the current character transform and scale.
Space BoneSelect another frame bone for Bone or Parent Bone space. If none is selected, use the input default frame bone.
World-stage evaluationA built-in control with an active World input runs after root motion and motor movement. The Editor reports this requirement.

Level of detail

SettingFunction
DisabledApply no node threshold.
EnabledRun the node when the character LOD level is at or below the selected level. Level 0 is a valid enabled threshold.
Above the thresholdUse the pass-through behavior stated for this node. LOD changes do not replace the node input requirements.

Setup example

  1. Connect an ordinary source pose.
  2. Bind Root, Joint and Tip in order.
  3. Choose Target and Pole, then set the target and pole sources and frames.
  4. Set Tip Rotation and adjust Weight.

Requirements and limits

  • The chain and its ancestors require positive uniform scale. Segments must have nonzero length.
  • With no bones selected, the current Editor warns and passes through the source. A partial or invalid binding is an error.
  • Older Legacy data with four bones uses Goal Bone behavior.

Editor guides

Reference details

BAS 1.0 reference. Node type: TwoBoneIKNode. Main source: BuiltinSkeletalControls.cs. Defaults also use the node constructor and the shared Editor field definitions.

General Rotors ยท Burst Animation System 1.0