sbox-issues icon indicating copy to clipboard operation
sbox-issues copied to clipboard

[Editor] Copy scene camera transform

Open Remscar opened this issue 1 month ago • 1 comments

What can't you do?

Sometimes I'm placing cameras in my scene and I want to capture a specific translation and rotation that I have moved my scene camera to.

I can't easily capture the exact position/rotation of the scene camera.

How would you like it to work?

It would be nice to be able to select an object and when right clicking on the transform's local position and rotation to be able to "Apply Scene Camera Position/Rotation"

What have you tried?

Making an editor tool to print the camera position/rotation to console. And slowly jiggering the camera component into the same position/rotation.

Additional context

No response

Remscar avatar Nov 17 '25 22:11 Remscar

This exists already. Press CTRL+SHIFT+F to make the selected GameObject's position/rotation match the Editor's Camera (it can also be done via the Scene Menubar)

https://github.com/user-attachments/assets/01dedd6b-fd16-4867-9677-fcb88d9358ae

CarsonKompon avatar Nov 24 '25 14:11 CarsonKompon

Thanks Carson!

Remscar avatar Nov 26 '25 17:11 Remscar