Skip to content

Orbit around selected object(s) in the 3D viewport. #94

@j-jasz

Description

@j-jasz

Describe the project you are working on

I would like to propose a feature that viewport rotation instead of using arbitrary and unknown point in 3D space would be around the origin point of currently selected object or the median point if multiple objects are selected.

Describe the problem or limitation you are having in your project

A of now rotation in 3D viewport can very easily move selected objects out of the view. This can be very frustrating.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

If viewport rotation is done around selected object it will not be moved out of the view.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

The best way to check how this can work in practice is to test it in existing application - in default Blender it can be toggled on/off with: Edit -> Preferences -> Navigation -> Orbit Around Selection.
I think it could work in a similar manner in Redot -> Editor -> Editor Settings -> Editors -> 3D -> Navigation -> Orbit Around Selection

If this enhancement will not be used often, can it be worked around with a few lines of script?

Not really. Viewport interaction during game scene construction aren't that customizable.

Is there a reason why this should be core and not an add-on in the asset library?

Yes. Having selected object in the viewport during navigation is essential feature for every 3D application no matter if it is used for modeling, texturing or as a game engine.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions