bevyengine / bevyengine/bevy

Snap-to-view should change the camera mode to orthographic

Open
#23,697 1 comment 0 reactions 0 assignees View on GitHub
A-Dev-Tools C-Refinement D-Straightforward S-Ready-For-Implementation X-Uncontroversial
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## What problem does this solve or what need does it fill?

Snap-to-view, added in https://github.com/bevyengine/bevy/pull/23674, is very useful for seeing how things line up from each of the standard axis directions.

However, it's much easier to see if things are correct if we're using an orthographic perspective: vanishing points distort things in ways you don't want.

## What solution would you like?

Swap to orthographic perspectives when you use the snap-to-view functionality.

Swap back when you change the angle of the camera in another way.

Cache the old projection inside the free camera controller so then you can restore the old defaults.

## Additional context

This is the standard behavior in e.g. Blender.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.