Skip to content

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

@alice-i-cecile

Description

@alice-i-cecile

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Dev-ToolsTools used to debug Bevy applications.C-RefinementImproves output quality, without fixing a clear bug or adding new functionality.D-StraightforwardSimple bug fixes and API improvements, docs, test and examplesS-Ready-For-ImplementationThis issue is ready for an implementation PR. Go for it!X-UncontroversialThis work is generally agreed upon

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions