provencher / MRTK-Quest

MRTK-Quest: Mixed Reality Toolkit (MRTK) extension bridge for Oculus Quest + Rift / S
Other
389 stars 67 forks source link

Hand Interaction Pan Zoom not in good direction #92

Open ValemVR opened 4 years ago

ValemVR commented 4 years ago

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.

provencher commented 3 years ago

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