Controller:vibrate

Causes the Controller to vibrate for a specified duration.

Controller:vibrate(duration)

Arguments

NameTypeDescription
durationnumberThe amount of time to vibrate the Controller, in seconds.

Returns

Nothing

Notes

On the HTC Vive, the value for the duration currently must be less than .004 seconds. Call this function several frames in a row for stronger or prolonged vibration patterns.

See also