Hello, welcome to Microsoft Q&A,
According to the description, I assume it is the visual effects of hands that you want set offset when handling tasks, it can be done easily. Please let me know if I understand correctly.
I am referring Example scenes - MRTK 2 and have imported the official hand tracking sample. You may navigate to [MixedRealityToolkits profiles in Unity] -> [Input] -> [Articulated Hand Tracking]. There are Joint Prefab, Palm Prefab, etc. and they are the visual game objects that placed by MRTK input. Usually, it is not allowed to edit Prefab in Package folder, and you may drag/copy the object from Packages/com.microsoft.mixedreality.toolkit.foundation/SDK/Features/UX/Prefabs/Hands to Assets folder, then attach and replace the original reference. After that, you can create Unity scripts for offset settings like below.
void Update()
{
Transform current = transform;
transform.position = current.position + new Vector3(0.2f, 0.2f, 0.2f);
}
---
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Pointers in MRTK is more like visual indicator for the extent of rays. Setting offset of Pointer won't change the actual ray from hands.
For now MRKT only supports getting rays and you may refer to: [Accessing input state in MRTK — MRTK2] (https://learn.microsoft.com/en-us/windows/mixed-reality/mrtk-unity/mrtk2/features/input/input-state?view=mrtkunity-2022-05). You need to duplicate the rays you can get and set offsets for the visual effects.
Thank you very much.
I got it working.
Another Question:
Can we create a fake Latency in Hololens 2 ? Because I also want to create a Latency in milliseconds and test the impact of user behaviour on this effect.
Can I get some suggestions or ideas regarding this?
Thank you once again for your support.
To help us track this issue, please send a new thread. Thanks for your understanding.
---
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
Sign in to comment