You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe there was an oversight in my changes to address #1824 - the Left/RightHandInputControl prefabs do not have 'grip position' selected as a supported feature. Additionally the CustomInputControl that governs in-Editor input doesn't update grip position/rotation in the SourcePose.
I think perhaps that a subsequent change has introduced more use of TryGetGripPosition than previously existed? It's these calls that are failing now, however, they always would have, had they been there before my change!?
Note: on device, behavior works as expected.
I've got a local fix; I'll post a PR asap.
Expected Behavior
Running in Editor, attempts to obtain grip position succeed and return the general hand position.
Actual Behavior
Attempts fail, grip position returns as 0,0,0
Steps to reproduce
setup an MRTK scene
add an object with a HandDraggable script
the object cannot be moved in-Editor, but can on device
Ah, looks like this happened in your change. CustomInputSource.cs, the script used for the hands, was updated in #1870 and #2050 to properly return the grip position from TryGetGripPosition, instead of faking it and returning the regular position in the past.
Hopefully the changes in #2133 should do the trick.
I don't really understand why I didn't see this when I made the first change... I must have had other changes that didn't make it into the submission... either way, my bad :(
Overview
I believe there was an oversight in my changes to address #1824 - the Left/RightHandInputControl prefabs do not have 'grip position' selected as a supported feature. Additionally the
CustomInputControl
that governs in-Editor input doesn't update grip position/rotation in theSourcePose
.I think perhaps that a subsequent change has introduced more use of
TryGetGripPosition
than previously existed? It's these calls that are failing now, however, they always would have, had they been there before my change!?Note: on device, behavior works as expected.
I've got a local fix; I'll post a PR asap.
Expected Behavior
Running in Editor, attempts to obtain grip position succeed and return the general hand position.
Actual Behavior
Attempts fail, grip position returns as 0,0,0
Steps to reproduce
HandDraggable
scriptMixed Reality Toolkit Release Version
May18 branch; SHA: 01876eb
The text was updated successfully, but these errors were encountered: