Rotate multiple objects in editor like they were one object

Godot Version

4.4.1

Question

Sometimes I’ll place some things in the editor and want to rotate them around a single pivot point, but they all rotate around their respective centers. It usually turns out like this:



So I have to reposition them manually. Is there a better way to do this?

  1. Create a new Node2D in your scene.
  2. Put all your Nodes that you want to rotate together as children of this new Node2D.
  3. Rotate the new parent Node2D.

Alternatively, you can select all nodes and change their pivot, which will make them rotate around a common pivot.
image

In a 3D game, you can also turn off “Local Space” (“T” shortcut by default) to rotate all selected elements around a common pivot.
image

EDIT:
With Dev snapshot: Godot 4.6 dev 5 – Godot Engine we can now turn off Local Space in 2D editor as well:

Editor: Add “Use Local Space” option to the 2D editor (GH-107264).

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.