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

It is possiable through the vive controller button control the HandJoint???

Open zxzkf1992 opened this issue 3 years ago • 2 comments

Describe the problem

I would like to ask if there is an API to modify the pose data of the hand model through the vive controller button? For example, by default, pressing the trigger button of the vive controller will move all fingers except the thumb to the palm. I want to modify this relationship, but I can't find the API between vive controller input and HandJoint. If anyone has done related content, or knows the API, please let me know, thanks !

Describe the solution you'd like

A clear and concise description of what you want to happen.

Additional context

MRTK 2.8.0 HTC VIVE pro controller steamVR Unity 2021.3.4f1

zxzkf1992 avatar Jul 21 '22 10:07 zxzkf1992

@keveleigh, are these OpenXR joints or SteamVR-proprietary joints or what?

Zee2 avatar Jul 22 '22 18:07 Zee2

Hmm...assuming this is from the OpenXR APIs, the only way I'm aware of the influence the joints is via the hand joint motion range API https://registry.khronos.org/OpenXR/specs/1.0/man/html/XrHandJointsMotionRangeEXT.html.

I actually just merged a PR in the Mixed Reality OpenXR Plugin to add support for this extension, and the API should ship in the 1.5.0 release of that package.

If you're looking for more control, there may be something that could be hooked up with our simulated hand poses, but I believe the hand joints you're seeing here are coming from the SteamVR runtime itself.

keveleigh avatar Jul 27 '22 17:07 keveleigh

Closing as 1.5.0 is imminent!

Zee2 avatar Aug 17 '22 01:08 Zee2