Hello.
i am making a drumming game for oculus vr. When i make code for haptic feedback, i cant find any way to change the lenght(amount of seconds) of the vibration. is there anyway to change it?
here is the code
private void OnTriggerEnter(Collider other)
{
if(other.tag == "DrumStickHead")
{
OVRInput.SetControllerVibration(1, 1, OVRInput.Controller.RTouch);
}
if (other.tag == "DrumStickHead2")
{
OVRInput.SetControllerVibration(1, 1, OVRInput.Controller.LTouch);
}
}