Mixedrealitytoolkit-unity: Hand draggable changes object's rotation when it shouldn't

Created on 20 Feb 2017  路  4Comments  路  Source: microsoft/MixedRealityToolkit-Unity

Let's say I use Hand Draggable script to move some cylinder which it lies on a plane (Z rotation 90掳). Is Keep Upright and Is Orient towards user are unchecked.

When I click on it in Game mode to move it, it changes rotatation to upwards (Z rotation 0掳).

Shouldn't the lines 199 and 200 in Hand Draggable script simply be:

draggingRotation = HostTransform.rotation;

Most helpful comment

probably duplicate of #519 ?

All 4 comments

probably duplicate of #519 ?

Yeah I believe this has been fixed with @cnspaha's pull request.

@8greg8, be sure to pull the latest and test again. Let us know if you have any questions.

@8greg8 is this issue closed?

Pulled the latest and everything works now. @HodgsonSDAS the issue is closed.

Was this page helpful?
0 / 5 - 0 ratings