-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Snap-to-view should change the camera mode to orthographic #23697
Copy link
Copy link
Open
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.C-RefinementImproves output quality, without fixing a clear bug or adding new functionality.Improves output quality, without fixing a clear bug or adding new functionality.D-StraightforwardSimple bug fixes and API improvements, docs, test and examplesSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed uponThis work is generally agreed upon
Milestone
Metadata
Metadata
Assignees
Labels
A-Dev-ToolsTools used to debug Bevy applications.Tools used to debug Bevy applications.C-RefinementImproves output quality, without fixing a clear bug or adding new functionality.Improves output quality, without fixing a clear bug or adding new functionality.D-StraightforwardSimple bug fixes and API improvements, docs, test and examplesSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!This issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed uponThis work is generally agreed upon
Type
Fields
Give feedbackNo fields configured for issues without a type.
What problem does this solve or what need does it fill?
Snap-to-view, added in #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.