Documentation / Node reference / geo nodes

geo/TransformAlign

Moves, turns or resizes the input to match a reference.

Modify Transform

TRANSLATE puts a point of the input's box onto a point of the reference box: MIN onto MAX on Y stacks one part on another. ROTATE turns fromAxis onto toAxis. SCALE resizes the input to fit the reference box. A parented assembly moves as one piece.

Parameters

Name Type What it does
group String Objects to move. Empty moves every top level object.
mode UInt8 TRANSLATE · ROTATE · SCALE What the node changes.
reference UInt8 EXPLICIT · INPUT1 · SELF What to align to.
referenceCenter Vector3_64 Center of the typed reference box.
referenceSize Vector3_64 Size of the typed reference box.
anchorX UInt8 NONE · MIN · CENTER · MAX Point of the input's box that moves, on X.
anchorY UInt8 NONE · MIN · CENTER · MAX Point of the input's box that moves, on Y.
anchorZ UInt8 NONE · MIN · CENTER · MAX Point of the input's box that moves, on Z.
targetX UInt8 NONE · MIN · CENTER · MAX Point of the reference box it lands on, on X.
targetY UInt8 NONE · MIN · CENTER · MAX Point of the reference box it lands on, on Y.
targetZ UInt8 NONE · MIN · CENTER · MAX Point of the reference box it lands on, on Z.
offset Vector3_64 Added after aligning.
offsetRelative Vector3_64 Added after aligning, as fractions of the input's size.
fromAxis Vector3_64 Axis of the input to aim.
toAxis Vector3_64 Where fromAxis should point.
twist Float64 Turn around the aimed axis, in degrees.
pivot UInt8 OBJECT_ORIGIN · BOX_ANCHOR What the input turns and scales around.
uniform Bool Scale every axis by the same factor.
margin Float64 Gap kept inside the reference box.
allowGrow Bool Allow scaling the input up.
batchMode UInt8 ALL_OBJECTS_TOGETHER · OBJECTS_INDIVIDUALLY Whether objects are measured together or one by one.
transformMode UInt8 OBJECT · GEOMETRY Defines how the result is applied.
multiplyMatrix Bool Add to the object's transform instead of replacing it.

Examples

Scenes you can open in the editor that teach this node.

See also

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.