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

Hand Interaction Pan Zoom not in good direction #92

Open
ValemVR opened this issue Aug 31, 2020 · 1 comment
Open

Hand Interaction Pan Zoom not in good direction #92

ValemVR opened this issue Aug 31, 2020 · 1 comment

Comments

@ValemVR
Copy link

ValemVR commented Aug 31, 2020

Hi, it seems like the movement of the pan is inverted in the Hand Interaction Pan Zoom component. (move uv up and down when going left right with the hand)
I was able to get this fixed by changing line 373 of the script from :

Vector2 uvDelta = new Vector2(totalUVOffset.x, -totalUVOffset.y);

to

Vector2 uvDelta = new Vector2(-totalUVOffset.y, -totalUVOffset.x);

Will do some further testing to see if its related to MRTK or just MRTK Quest.

@ValemVR ValemVR changed the title Han Interaction Pan Zoom not in good direction Hand Interaction Pan Zoom not in good direction Aug 31, 2020
@provencher
Copy link
Owner

@ValemVR I'm curious if this issue is still present for you in 1.2 - I regenerated the pan example prefab based on the one in the source hand interaction scene, and it seems fine on my end.

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

No branches or pull requests

2 participants