bevy/examples/gizmos
mgi388 9cb9969793
Use CameraController in 3d_gizmos example (#13973)
# 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 <>
2024-06-25 12:57:03 +00:00
..
2d_gizmos.rs Add cross gizmos (#13883) 2024-06-17 15:45:32 +00:00
3d_gizmos.rs Use CameraController in 3d_gizmos example (#13973) 2024-06-25 12:57:03 +00:00
axes.rs Adding explanation to seeded rng used in examples (#12593) 2024-03-26 19:40:18 +00:00
light_gizmos.rs Updates default Text font size to 24px (#13603) 2024-05-31 16:41:27 +00:00