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

Setting ManipulationHandler script to “RotateScale” mode doesn't prevent Move operation from happening #4395

Closed
ritijain opened this issue May 16, 2019 · 3 comments
Labels
Bug D365 Interactions ManipulationHandler and Interactable

Comments

@ritijain
Copy link
Contributor

Describe the bug

Setting the script to “RotateScale” mode doesn't prevent Move operation from happening
. If that is intended behavior, what is the purpose of constraining these manipulation Modes?

To reproduce

Steps to reproduce the behavior:

  1. Create a simple cube in the unity scene
    2, Add the ManipulationHandler script to the gameobject.
    Configure the script in the following manner:
    image
  2. Build and deploy to device.
  3. the user is able to move the gameobject

Expected behavior

The object should not move since the developer has configured the options to only RotateScale for the manipulation.

Your Setup (please complete the following information)

  • Unity Version 2018.3.10f1
  • MRTK Version 2.0

Target Platform (please complete the following information)

Hololens
Hololens2

Additional context

Add any other context about the problem here.

@ritijain ritijain added the Bug label May 16, 2019
@wiwei wiwei added 0 - Backlog Interactions ManipulationHandler and Interactable labels May 16, 2019
@wiwei
Copy link
Contributor

wiwei commented May 16, 2019

@julenka, can you comment on the intent here?

@ryantrem ryantrem added the D365 label May 16, 2019
@julenka
Copy link
Contributor

julenka commented May 16, 2019

This is actually by design, it's a duplicate of #2021. You can get the desired behavior (rotate only, no movement) by setting Manipulation Type to "Two Handed Only" and then setting "Two Handed Manipulation Type" to "Rotate Scale".

@julenka julenka closed this as completed May 16, 2019
@julenka
Copy link
Contributor

julenka commented May 16, 2019

This is good feedback though that the configuration is not obvious. Can somebody propose a better design?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug D365 Interactions ManipulationHandler and Interactable
Projects
None yet
Development

No branches or pull requests

4 participants