Studio Yotsuba
Back to Node List

Model Transform

model_transform

Adds a non-destructive transform parent with a stable pivot and quaternion rotation.

Reviewed
Guide available

Input Ports

NameTypeDescription
Model
model
Model
Required
Generated polygon model to assemble without mesh booleans.

Output Ports

NameTypeDescription
Model
model
Model
Assembled game-ready polygon model.

Parameters

NameTypeDefaultRangeDescription / Options
Translate X
translate_x
Float
0-1024–1024 / step 0.05

Translation along x.

Translate Y
translate_y
Float
0-1024–1024 / step 0.05

Translation along y.

Translate Z
translate_z
Float
0-1024–1024 / step 0.05

Translation along z.

Rotate X
rotate_x
Angle
0— / step 1

Euler rotation around x in degrees.

Rotate Y
rotate_y
Angle
0— / step 1

Euler rotation around y in degrees.

Rotate Z
rotate_z
Angle
0— / step 1

Euler rotation around z in degrees.

Scale X
scale_x
Float
1-64–64 / step 0.05

Non-uniform scale along x.

Scale Y
scale_y
Float
1-64–64 / step 0.05

Non-uniform scale along y.

Scale Z
scale_z
Float
1-64–64 / step 0.05

Non-uniform scale along z.

Pivot X
pivot_x
Float
0-1024–1024 / step 0.05

Pivot along x.

Pivot Y
pivot_y
Float
0-1024–1024 / step 0.05

Pivot along y.

Pivot Z
pivot_z
Float
0-1024–1024 / step 0.05

Pivot along z.

Move Snap
translation_snap
Float
0.250–64 / step 0.05

3D gizmo translation snap; zero disables snapping.

Angle Snap
rotation_snap
Float
150–180 / step 1

3D gizmo angle snap in degrees; zero disables snapping.

Scale Snap
scale_snap
Float
0.10–4 / step 0.05

3D gizmo scale snap; zero disables snapping.

Part Name
name
Text
Transform—

Stable transform name used in GLB.

Overview

Moves, rotates, non-uniformly scales, and sets the pivot of a Model part. In addition to assembly placement, a part with the correct pivot becomes a joint for rigid-body animation. This is where a treasure-chest lid learns to open around its hinge.

Usage tips

  • The basic assembly pattern is one of these nodes immediately after each part such as model_box.
  • The pivot is essential to animation: place it at the hinge for a lid or the shoulder for an arm, then drive rotation with a waveform. "Model Transform X Rotation" in the bundled workflows/model_chest_animation_c7.ppl is a complete example.
  • Select the part in the 3D viewer (Model 3D Stage) and write gizmo changes back to this node. It is faster than numeric input.
  • The stage shows evaluated values after promoted wires and variable bindings, not merely stored values. Driven transform groups, pivot axes, and snap fields become read-only so direct manipulation cannot overwrite their source.
  • name is a human-readable GLB label; it is not the stable internal Part ID.
  • Non-uniform scaling, such as 2× on X only, lets one box produce boards, posts, and beams.

Common pitfalls

  • Rotation uses the wrong center: the pivot is unset and remains at the origin or center. Move it to the joint before rotating.
  • Animation is missing from the GLB: rigid-body TRS is baked per stable PartId. Set the part's name and use at least 2 Animation Frames in model_gltf_export.

Related nodes

  • Generators such as model_box — parts to transform
  • model_group — merge placed parts
  • model_gltf_export — bake rigid-body animation into GLB
  • solid_transform — Solid-lane version
Back to Node List