cancel
Showing results for 
Search instead for 
Did you mean: 

Quest 2 Controller With Hands

natekfl
Honored Guest

Is there a prefab for the quest 2 controllers with hands, similar to the LocalAvatar? (LocalAvatar only renders CV1 touch controllers, as far as I can tell?

3 REPLIES 3

kohijin
Explorer

In case anyone else comes across this (as I did):

 

The provided AvatarDriver.cs is missing a switch statement at Start() to support Quest 2 (and probably Quest 1 via Link as well).

 

    void Start()
    {
        var headsetType = OVRPlugin.GetSystemHeadsetType();
        switch (headsetType)
        {
            case OVRPlugin.SystemHeadset.Oculus_Link_Quest_2:      
            case OVRPlugin.SystemHeadset.Oculus_Quest_2:
                ControllerType = ovrAvatarControllerType.Count;
                break;
            case OVRPlugin.SystemHeadset.Oculus_Link_Quest:
            case OVRPlugin.SystemHeadset.Oculus_Quest:
            case OVRPlugin.SystemHeadset.Rift_S:
            ControllerType = ovrAvatarControllerType.Quest;
                break;
            case OVRPlugin.SystemHeadset.Rift_DK1:
            case OVRPlugin.SystemHeadset.Rift_DK2:
            case OVRPlugin.SystemHeadset.Rift_CV1:
            default:
                ControllerType = ovrAvatarControllerType.Touch;
                break;
        }
    }

 

UPDESIGNSTUDIO
Explorer

the sampleFramework/Usage/CustomHands example places the hands where the controller should be, but not the cotroller itself.

it also makes the finger movenemt, when pressing the controller buttons

Anonymous
Not applicable

This solution doesn't seem to be working for me, I fixed the code like shown but I still get the wrong controllers when I run the app. Has anyone figured this out? I can get the Quest 2 controllers to be shown but without hands on them (Local Avatar doesn't have support for Quest 2 controllers I guess).