Skip to content

[Editor] Add dynamic snapping for selected objects #1801

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 19, 2023

Conversation

SVNMLR
Copy link
Contributor

@SVNMLR SVNMLR commented Sep 19, 2023

PR Details

Implements a dynamic snapping used while holding down a key (default: Left Shift) on manipulating (rotating/moving/scaling) an object/entity. It is possible to use STRG + Shift to duplicate with snapping, too.

Description

  • New: Add new Hotkey Setting for dynamic snapping
  • New: Add Method to handle dynamic snapping

Motivation and Context

To prevent from having to toggle the snapping on in the first place before manipulating an object, it is now possible to quickly (de)activate it, when it is (not) needed.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My change requires a change to the documentation.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Implements a dynamic snapping used while holding down a key on manipulating (rotating/moving/scaling) an object/entity

* New: Add new Hotkey Setting
* New: Add Method to handle dynamic snapping
Copy link
Member

@manio143 manio143 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@Eideren
Copy link
Collaborator

Eideren commented Sep 19, 2023

Didn't you just start going through the engine today ? I'm impressed.
Works great, thanks a bunch !

@Eideren Eideren merged commit eb08bd2 into stride3d:master Sep 19, 2023
@SVNMLR SVNMLR deleted the Add-dynamic-snapping branch September 22, 2023 07:47
@Eideren Eideren added this to the 4.2 milestone Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants