Как реализовать Haptic с контроллерами движения Vive? - PullRequest
0 голосов
/ 08 июля 2019

Я использую SteamVR версии 1.2.3 с VRTK версии 3.3.Я хочу реализовать эффект Хаптика в контроллере Vive,

Я пробовал следующее:

[SerializeField] private GameObject Rightcontroller; //I dragged the RightController script aliases here
private VRTK_ControllerReference ControllerReference;

void Start()
    {
        ControllerReference = VRTK_ControllerReference.GetControllerReference(Rightcontroller);
        VRTK_ControllerHaptics.TriggerHapticPulse(ControllerReference, 0.5f, 0.5f, 0.01f);
    }

Код не работал.Что я делаю не так?

...