mirror of
https://github.com/bevyengine/bevy
synced 2024-11-22 20:53:53 +00:00
9cb9969793
# Objective - Make it easier to see how the 3d gizmos work by letting the viewer control the camera. - This was suggested by someone in Discord or in a GitHub comment but I couldn't find the original source. I thought it was a good idea too so decided to make a PR. ## Solution - Use the camera controller helper instead of the automatic rotation system. ## Testing ``` cargo run --example 3d_gizmos ``` And confirmed the freecam controls work. ### Screenshots Initial view: <img width="1920" alt="image" src="https://github.com/bevyengine/bevy/assets/135186256/98672539-de4a-4eb7-98e6-c7bd03cd8d66"> Above: <img width="1920" alt="image" src="https://github.com/bevyengine/bevy/assets/135186256/10eabc4a-bded-44b7-a1de-6130754c7f0e"> Below: <img width="1920" alt="image" src="https://github.com/bevyengine/bevy/assets/135186256/b9ba9eb7-d1e8-4ad7-a9cd-aeb499ea7f9a"> Co-authored-by: mgi388 <> |
||
---|---|---|
.. | ||
2d_gizmos.rs | ||
3d_gizmos.rs | ||
axes.rs | ||
light_gizmos.rs |