Skip to content

Commit 15303f5

Browse files
committed
Document setting up Blender-style transform shortcuts in Introduction to 3D
1 parent 8c625b8 commit 15303f5

File tree

1 file changed

+35
-5
lines changed

1 file changed

+35
-5
lines changed

tutorials/3d/introduction_to_3d.rst

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -80,11 +80,11 @@ submitting them to the 3D API has a significant performance cost.
8080
Immediate geometry
8181
------------------
8282

83-
If, instead, you need to generate simple geometry that
84-
will be updated often, Godot provides a special node,
85-
:ref:`ImmediateMesh <class_ImmediateMesh>`,
86-
which provides an OpenGL 1.x style immediate-mode API to create points,
87-
lines, triangles, etc.
83+
If, instead, you need to generate simple geometry that will be updated often,
84+
Godot provides a special :ref:`ImmediateMesh <class_ImmediateMesh>` resource
85+
that can be used in a :ref:`MeshInstance3D <class_MeshInstance3D>` node.
86+
This provides an OpenGL 1.x-style immediate-mode API to create points, lines,
87+
triangles, etc.
8888

8989
2D in 3D
9090
--------
@@ -175,6 +175,36 @@ Some useful keybindings:
175175
or rotating.
176176
- To center the view on the selected object, press :kbd:`F`.
177177

178+
Using Blender-style transform shortcuts
179+
---------------------------------------
180+
181+
Since Godot 4.2, you can enable Blender-style shortcuts for translating,
182+
rotating and scaling nodes. In Blender, these shortcuts are:
183+
184+
- :kbd:`G` for translating
185+
- :kbd:`R` for rotating
186+
- :kbd:`S` for scaling
187+
188+
After pressing a shortcut key while focusing on the 3D editor viewport,
189+
move the mouse or enter a number to move the selected node(s) by the
190+
specified amount in 3D units. You can constrain movement to a specific
191+
axis by specifying the axis as a letter, then the distance (if entering a
192+
value with the keyboard).
193+
194+
For instance, to move the selection upwards by 2.5 units, enter the
195+
following sequence in order (Y+ is upwards in Godot):
196+
197+
:kbd:`G`-:kbd:`Y`-:kbd:`2`-:kbd:`.`-:kbd:`5`-:kbd:`Enter`
198+
199+
To use Blender-style transform shortcuts in Godot, go to the Editor Settings'
200+
**Shortcuts** tab, then in the Spatial Editor section:
201+
202+
- Bind **Begin Translate Transformation** to :kbd:`G`.
203+
- Bind **Begin Rotate Transformation** to :kbd:`R`.
204+
- Bind **Begin Scale Transformation** to :kbd:`S`.
205+
- Finally, unbind **Scale Mode** so that its shortcut won't conflict with
206+
**Begin Rotate Transformation**.
207+
178208
View menu
179209
---------
180210

0 commit comments

Comments
 (0)