Skip to content
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

Fixing issues with constraints and off-center ObjManip host transforms #11086

Merged
merged 5 commits into from Oct 13, 2022

Conversation

Zee2
Copy link
Contributor

@Zee2 Zee2 commented Oct 6, 2022

Overview

Because all three forms of user input (scale, rotation, position) were computed first, and then all of the constraints were computed afterwards, the position input was calculated without the knowledge of the scale constraint. This resulted in strange behaviors when the user tried to scale an object past a MinMaxScaleConstraint's limits.

Changes

@JonathanPalmerGD here you go!

@Zee2 Zee2 added the UX Controls - ObjectManipulator formerly known as ManipulationHandler label Oct 6, 2022
@Zee2 Zee2 self-assigned this Oct 6, 2022
@Zee2 Zee2 requested a review from RogPodge as a code owner October 6, 2022 22:48
@github-actions github-actions bot added the MRTK3 label Oct 6, 2022
@Zee2 Zee2 added this to the MRTK3 GA milestone Oct 6, 2022
@RogPodge RogPodge dismissed their stale review October 7, 2022 00:02

Clearing to not block future merge

@RogPodge
Copy link
Contributor

Looks great!

@Zee2
Copy link
Contributor Author

Zee2 commented Oct 13, 2022

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@Zee2 Zee2 merged commit 61fed12 into microsoft:mrtk3 Oct 13, 2022
drusk-unity pushed a commit to drusk-unity/MixedRealityToolkit-Unity that referenced this pull request Jun 26, 2023
microsoft#11086)

* Fixing constraint execution conflict w/ user input

* Cleanup

* Comment fix

Co-authored-by: RogPodge <39840334+RogPodge@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MRTK3 UX Controls - ObjectManipulator formerly known as ManipulationHandler
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants