Transform
Moves, turns and resizes whatever you wire into it.
move, rotate, scale, position, translate, place, resize, turn- Category
- Modifiers
- Outputs
- mesh
- Runs live in
- Godot, Roblox
The node you will use more than any other. It sets a position outright rather than nudging from wherever the part already was, so the same Transform gives the same result no matter what came before it.
That is worth knowing because it can undo work. If you seat a part on the ground and then move it with a Transform, the seating is gone and nothing warns you. Seat last.
Turn on Instances and it acts on each copy of a scattered set separately instead of moving the whole cloud as one thing.
Inputs
| Socket | Type | Wiring |
|---|---|---|
| mesh | geometry | |
| translation | vector | one wire covers translationX, translationY, translationZ |
| rotation | vector | one wire covers rotationX, rotationY, rotationZ |
| scale | vector | one wire covers scaleX, scaleY, scaleZ |
Parameters
| Name | Type | Default | Available when | What it does |
|---|---|---|---|---|
| X | number | 0 | always | |
| Y | number | 0 | always | |
| Z | number | 0 | always | |
| X | number | 0 | always | |
| Y | number | 0 | always | The three angles are one rotation applied in a fixed order, and it is not the order you might read them in: Y happens before X. So setting X and Y together does not mean turn it, then stand it up. If two angles at once give you something you did not expect, set one, check it, then add the other. |
| Z | number | 0 | always | |
| X | number | 1 | always | |
| Y | number | 1 | always | |
| Z | number | 1 | always | |
| Instances | checkbox | off | always |
Watch out
A Transform after Place On throws the seating away, because it sets position outright. Put the Transform first and seat the part last.
Built with this node
- Make things moveHow-to
- Change shapesHow-to
- Combine and cutHow-to
- My animation does not moveFix
- My copies are all the sameFix
- My copies of a part do not matchFix
- My part is floating or sunkFix
- My shape is the wrong sizeFix
- Place thingsHow-to
- Build reusable systemsHow-to
- When the library is not enoughLearn
- Why two Transforms in a row do not stackReference
- Your first graphLearn
- When a Cut Does Nothinguses it
- Build Half, Get the Wholeuses it
- Cut a Doorwayuses it
- Cut Several Windowsuses it
- Make a Part You Can Reuseuses it
- Make It Bobuses it
- Make It Spinuses it
- Paint Each Part Before You Joinuses it
- demo-fittingsdemoTwenty-three Transforms seat six different joints on one bench, which is the whole subject of that demo.
3 more teaching graphs use it without being about it.
See also
- placeOnWhen you want one part to rest on another and stay resting on it at any size.
- instanceOnPointsFor many copies at once, rather than moving one thing.