bevy_editor_prototypes
bevy_editor_prototypes copied to clipboard
Add an action that puts selected objects into the camera's view
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
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
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.
Calculating the bounding box was what I had in mind 👍