• they/them

I live in Portland and sometimes I make video games if I can find somebody who will pay me to do it.


How the fuck do both Unity and Unreal's editors lack a function to move an object to the same position and rotation in world space as another object? I need to do this CONSTANTLY. I genuinely don't understand how people are able to make games without such basic functionality. At least in Unity I was able to write a script to do it, but I don't know how to do that in Unreal.


You must log in to comment.

in reply to @czircon's post:

That only gets you the local transform, so it doesn't work if the objects aren't attached to the same thing. I know I can change the attachment, then do that, then change the attachment back, but that's a lot of clicks. What I want is: select object A, select object B, press hotkey, now they're at the same position in world space.

In Unity 2022.2.2f1 and 2021.3.16f1, there is an option for copying the global transform labeled "Copy > World Transform" and pasting it with "Paste > World Transform". In Unity 2020.3.43f1 it's labeled "Copy World Placement" and "Paste World Placement" respectively. These save you the steps of changing the attachments by copying the global position as you'd like.

I'm not sure when these options were added exactly, as I do remember a time when these options were not available, but they are currently available in all of the official releases.

To write a script of this kind in ue you'd want to use an editor utility widget, or an editor utility blueprint of the type actor action utility.

Then you'd get the selected actors and apply their world transforms to the other.

You need to enable the editor scripting plugin to get the selected actors functionality.