Transform
The Transform panel shows where the selected objects are, how they are turned and how big they are. It shows for every selection, right under the name row. Type a value when you need an exact place, for example to line up two prefabs, or copy the values of one object and paste them onto another.
The panel has three rows: Position, Rotation and Scale, each with X, Y and Z. Values are in meters and degrees. With more than one object selected, the panel shows the average of the selected objects (children of selected objects are not counted).
Under the rows is a row of buttons: Snap to Ground, Mirror X, Mirror Z, Flip and Reset. See Buttons under the rows.
Press Enter or click outside the box to apply a value. You can type math, for example 120+2.5. Each value you apply is one undo step.
For a prefab with a pivot of its own, Position and Rotation are the pivot's. Hover their names to see what the map saves: the prefab's own origin.
Global and local space
The space changes how a value you type works. Switch it with the Space button on the transform widget, or press X.
- Global space: the values are in world axes. A new value moves, turns or scales the whole selection:
- Position moves every selected object by the same amount, so they keep their places to each other.
- Rotation turns the whole selection around its middle.
- Scale scales the selection from its middle.
- Local space: the value you type in one axis is given to every selected object on that axis, measured from the object's parent (or from the world, when it has no parent). The other axes stay as they are.
In local space, the fields still show the world values, not the local ones. To read the values, switch to global space.
Copy and paste values
Each row has two small buttons after its Z box:
- Copy puts the row's three values on the Windows clipboard as text, for example
395.111, 10.225, 17.36. - Paste gives the selection three values from the clipboard. They can come from another row, another object, or any text, for example a message or a note. The text must have exactly three numbers.
(1, 2, 3),X 1 Y 2 Z 3, and1,5; 2,5; 3with a comma for the decimals all work.
Paste is grayed out when the clipboard has no three numbers, or when the row cannot change for the selection. Each paste is one undo step.
Uniform scale
The chain button before the Scale boxes turns uniform scale on and off. When it is on, the chain is linked and shows in the highlight color.
- On: a change to one scale value changes the other two by the same amount, so the object keeps its shape. For example, scale 1, 2, 1 with X changed to 2 becomes 2, 4, 2. When the value you change was 0, all three get the new value.
- Off: each value changes on its own.
RustEdit remembers the setting the next time it starts. It changes typed and pasted values in the Scale row only, not the scale gizmo.
Buttons under the rows
Each button is one undo step. A button is grayed out when the selection cannot do it, for example when a selected object cannot be moved or turned.
| Button | What it does |
|---|---|
| Snap to Ground | Puts each selected object's pivot on the terrain. Its rotation does not change. The same as Ctrl+Alt+Mouse Middle in the scene view. |
| Mirror X | Mirrors the selection from side to side. Each object goes to the other side of the selection's middle on X, and its rotation is mirrored: the Y and Z values change sign. Hold Shift as you click to also turn each object half a turn in place (Turn Around). |
| Mirror Z | Mirrors the selection from front to back. Each object goes to the other side of the selection's middle on Z, and the X and Y values of its rotation change sign. Hold Shift as you click for Turn Around. |
| Flip | Turns the selection upside down around its middle. |
| Reset | Moves the selection to the world origin, sets its rotation to 0 and sets its scale to 1. |
Mirror and flip
Mirror uses rotation only. Scale never goes below 0, so Rust draws every prefab normally. Rotation alone can only mirror a prefab that is the same on both sides of a line through it, so pick the one that fits the prefab:
- A prefab that is the same left to right: Mirror X, or Shift + Mirror Z.
- A prefab that is the same front to back: Mirror Z, or Shift + Mirror X.
A single prefab with rotation 0, 0, 0 does not change with Mirror X or Mirror Z: its mirror is itself. Hold Shift for it. If a result looks wrong, undo with Ctrl+Z and try the other one. A prefab that is not the same on any side keeps its own shape: only its place and turn are mirrored.
When a row is grayed out
A row is grayed out when one of the selected objects cannot be moved, turned or scaled. For example, prefabs joined to others by sockets cannot be scaled, and a locked object in a socket group stops the whole group.
Locked objects and parts of a placed monument do not move, even though the rows are not grayed out for them.
Buttons in the menu
Click the ⋮ button at the right end of the panel's title row for these items.
| Item | What it does |
|---|---|
| Reset | Moves the selection to the world origin, sets its rotation to 0 and sets its scale to 1. |
| Copy > Position, Rotation, Scale | Copies one row, the same as the row's Copy button. |
| Copy > Component Values | Copies all three rows as one text: 1, 2, 3; 0, 90, 0; 1, 1, 1. |
| Paste > Position, Rotation, Scale | Gives the selection three values from the clipboard, the same as the row's Paste button. |
| Paste > Component Values | Gives the selection all three rows from the clipboard. The text must have exactly nine numbers. |
A Paste item is grayed out when the clipboard does not have the numbers it needs. Any value can be pasted, also 0, 0, 0.