[BUG] ObjectManipulator rotation is inverted in some cases with constraint on two axes #952
Labels
Needs: Triage
Needs to be triaged.
Type: Bug
A problem with an existing feature that can be fixed with the next patched release.
Describe the bug
This is basically microsoft/MixedRealityToolkit-Unity#8947 from the MRTK2, but for the MRTK3 - the original issue was closed because of the MRTK2 being retired, but I also seem to be experiencing a similar issue in the MRTK3 with a similar setup.
To reproduce
See also the original issue's reproduction steps, my setup is very similar:
ObjectManipulator
on it.AxisRotationConstraint
to restrict the X and Z axes (so you can only rotate from 'left to right' or over the Y axis). KeepHand Type
andProximity Type
onEverything
, don't enableUse Local Space For Constraint
.In my case I have an object that was rotated 180º so I first suspected that was causing it, but it wasn't.
Expected behavior
The inverse happens; moving hand left rotates the object left as well.
Your setup (please complete the following information)
Target platform (please complete the following information)
Additional context
I was able to create my own
RotateLogic
and attach it to theObjectManipulator
to fix the issue:The text was updated successfully, but these errors were encountered: