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

Lock position of hand when rotating in simulator #11457

Merged

Conversation

srinjoym
Copy link
Contributor

@srinjoym srinjoym commented Apr 10, 2023

Overview

Rotating the simulated hand also results in the hand's position moving. This makes it very difficult to rotate objects accurately without them also moving off screen. MRTK 2 would lock the position of the hand when it was rotating. This PR changes the InputSimulator.cs script to mirror the same behavior.

Changes

@github-actions github-actions bot added the MRTK3 label Apr 10, 2023
@srinjoym srinjoym marked this pull request as ready for review April 10, 2023 21:28
@srinjoym srinjoym self-assigned this Apr 10, 2023
@srinjoym srinjoym linked an issue Apr 10, 2023 that may be closed by this pull request
@srinjoym srinjoym merged commit f2c1d47 into microsoft:mrtk3 Apr 10, 2023
9 checks passed
@srinjoym srinjoym deleted the user/srmajumd/lockSimulatorRotation branch April 10, 2023 22:58
drusk-unity pushed a commit to drusk-unity/MixedRealityToolkit-Unity that referenced this pull request Jun 26, 2023
* Ignore position delta on simulator if a rotation is active

* remove extra line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[MRTK3] Input Simulator controls are broken
3 participants