Skip to main content
New Participant
July 7, 2022

How to shift the tracked hand

Hello, 

I am using the integration SDK to track my hand  and I need to apply an offset to the hand.

I can successfully get the position of the hand with a Hand object from the Oculus.Interaction.Input, or a OVRHand object, but how can I set it ?

 

Thank you very much.

    3 replies

    Inspiring
    August 19, 2022

    Did you get to solve this issue?

    New Participant
    August 21, 2022

    No I couldn't set it with a c# code, the position of the tracked hand is protected and I didn't understand how to use the dataModifier explained in the doc : https://developer.oculus.com/documentation/unity/unity-isdk-input-processing/#modifiers

     

    So what I did to counter this :

    I applied an offset on the visual of the hand, "RightHandVisual"

     

    And then in HandPokeInteractorRight -> PokeInteractor Component, 

    I applied the same offset on the PointTransform Variable

     

    Hope this will help you,

    good luck

    Inspiring
    August 22, 2022

    try using position constraint, which worked for me in this case, 

    https://www.facebook.com/1070866521/videos/pcb.10224285786266900/7779412685462667