GENERAL
ROTORS
DocumentationBAS 1.0

Node reference / Skeletal controls

Look At

Turn one bone so that its configured local forward axis points toward a target.

Look At connected in the BAS Graph Editor
Look At 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

The node calculates a rotation from the current forward direction to the target direction. Max Angle Degrees limits the turn from the input pose.

Smoothing applies an exponential response to the correction. A value of 0 applies the correction at once. Positive values are a time constant in seconds.

The correction is stored relative to the parent frame so that character movement does not carry an old world-space correction.

Inputs and output

PortTypeFunction
SourceOrdinary poseThe input pose to change.
WeightFloatBlend the control result with the source. The default is 1.
Target PositionVector3Default is one component unit along the incoming configured forward axis.
PoseOutputThe pose with the bone rotation changed.

Settings

SettingDefaultFunction
BoneUnassignedThe bone to turn.
Input spaceComponentSelect the frame for the target input.
Forward Axis(0, 0, 1)A nonzero finite axis in the local frame of the bone.
Max Angle Degrees180Maximum turn from the input pose. Valid range: 0 to 180 degrees.
Smoothing0 secondsA finite, nonnegative response time constant.
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 Source and choose the head or another bone.
  2. Set Forward Axis to the direction that points forward on that bone.
  3. Set the target source and frame. Adjust the angle limit, smoothing and weight.

Requirements and limits

  • The bone and its ancestors require positive uniform scale.
  • This node turns one bone. It does not distribute rotation over a spine chain.
  • The optional sample Look At uses a different algorithm based on the character forward axis.

Editor guides

Reference details

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

General Rotors ยท Burst Animation System 1.0