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

Fix for Bounds Control With Non Uniform Scale Issues #10133

Merged
merged 1 commit into from Aug 31, 2021

Conversation

malnas01
Copy link
Contributor

@malnas01 malnas01 commented Aug 4, 2021

Overview

BoundsControl exhibited unexpected behaviour when using NonUniform scaling on a rotated GameObject. This PR fixes that.

Changes

Verification

Open BoundsControlExamples scene. Change the ScaleBehavour under ScaleHandlesConfiguration to NonUniform. Using the scale handles on an arbitrarily rotated GameObject now behaves as expected (opposite corner stays fixed in world space)

@david-c-kline
Copy link

@Zee2, can you take a look at this PR?

@RogPodge
Copy link
Contributor

RogPodge commented Aug 30, 2021

Tested and confirmed it worked

old behavior:
bounds1

new behavior:
bounds2

@RogPodge
Copy link
Contributor

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@RogPodge RogPodge merged commit 7f4fb91 into microsoft:main Aug 31, 2021
@polar-kev polar-kev added this to the MRTK 2.7.3 milestone Nov 22, 2021
keveleigh pushed a commit to keveleigh/HoloToolkit-Unity that referenced this pull request Dec 7, 2021
keveleigh pushed a commit to keveleigh/HoloToolkit-Unity that referenced this pull request Dec 7, 2021
keveleigh pushed a commit to keveleigh/HoloToolkit-Unity that referenced this pull request Dec 7, 2021
keveleigh pushed a commit to keveleigh/HoloToolkit-Unity that referenced this pull request Dec 7, 2021
keveleigh pushed a commit to keveleigh/HoloToolkit-Unity that referenced this pull request Dec 7, 2021
keveleigh pushed a commit to keveleigh/HoloToolkit-Unity that referenced this pull request Dec 8, 2021
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.

Bounds Control With Non Uniform Scale Issues
4 participants