MRTK-Quest icon indicating copy to clipboard operation
MRTK-Quest copied to clipboard

Hand Interaction Pan Zoom not in good direction

Open ValemVR opened this issue 4 years ago • 1 comments

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 avatar Aug 31 '20 23:08 ValemVR

@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.

provencher avatar Nov 19 '20 17:11 provencher