MixedRealityToolkit-Unity icon indicating copy to clipboard operation
MixedRealityToolkit-Unity copied to clipboard

Some Vector2 input changes are not reported correctly

Open luis-valverde-ms opened this issue 7 years ago • 1 comments

The code used to set Vector2 values in interaction mappings (MixedRealityInteractionMapping.Vector2Data setter) performs the following check:

Changed = !vector2Data.x.Equals(value.x * invertXAxisFactor) &&
          !vector2Data.y.Equals(value.y * invertYAxisFactor);

Which only returns true if both x and y components have changed.

luis-valverde-ms avatar Apr 29 '19 15:04 luis-valverde-ms

Closing, I believe this was fixed by #4116

wiwei avatar May 15 '19 01:05 wiwei