bevy_editor_prototypes icon indicating copy to clipboard operation
bevy_editor_prototypes copied to clipboard

Add an action that puts selected objects into the camera's view

Open Atlas16A opened this issue 1 year ago • 3 comments

As the titles says, you can loose the scene space if you zoom out too far, zoom out until you cant see anything then try to zoom back in, results vary drastically

Atlas16A avatar Oct 23 '24 23:10 Atlas16A

This can be easily be solved by a focus key when, will have a scene inspector implemented.

E.g:

  • Select an actor, from scene inspector
  • Press F key to focus

hcabel avatar Oct 31 '24 13:10 hcabel

What should the camera focus be when pressing the focus bind? The easy solution would just be to set it to 1. The nice solution would probably be to calculate it using the focused objects bounding Box.

Dokkae6949 avatar Oct 31 '24 13:10 Dokkae6949

Calculating the bounding box was what I had in mind 👍

hcabel avatar Oct 31 '24 21:10 hcabel