GENERAL
ROTORS
DocumentationBAS 1.0

Node reference / Blends

Blend Tree 2D

Blend pose graph inputs at 2D positions with Unity Blend Tree weight rules.

Blend Tree 2D connected in the BAS Graph Editor
Blend Tree 2D 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

X and Y define the query position. Mode selects Freeform Cartesian, Freeform Directional or Simple Directional weights.

Freeform Cartesian works with positions on two axes. Directional modes use the direction and distance of the sample positions.

The inputs are pose nodes. This differs from Blend Space, which reads clip samples from an asset and uses triangle interpolation.

Inputs and output

PortTypeFunction
SamplesPose listOne pose for each sample position.
X / YFloatThe 2D query position.
PoseOutputThe blended pose.

Settings

SettingDefaultFunction
ModeFreeform CartesianChoose the Unity 2D weight rule.
Synchronize ChildrenOffKeep eligible Clip inputs at one normalized phase.
Samples / PositionEmptySet one finite X and Y position per pose.
Child Time Scale1 when list is emptyAnimator behavior only. Set one finite positive value per child if used.
X / Y0 / 0Set the query position or connect inputs.
Event ModeHighest WeightedSelect input events.
Curve ModeInterpolatedSelect curve blending.
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.

Events and curves

SettingFunction
Event Mode: Highest WeightedUse events from the highest-weighted contributing input.
Event Mode: AlwaysAllow events from all contributing inputs.
Curve Mode: InterpolatedBlend curve values with the input blend weights.
Curve Mode: AdditiveAdd the contributing curve values according to the operation.
Curve Mode: MaximumUse the largest contributing curve value.

Setup example

  1. Choose the weight rule that matches the sample layout.
  2. Add poses and set a position for each one.
  3. Connect the two query coordinates and inspect the result between the samples.

Requirements and limits

  • A pose needs a matching finite position.
  • Synchronized inputs must be unshared Clip nodes with constant Speed 1 and Start Time 0.
Reference details

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

General Rotors ยท Burst Animation System 1.0