File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ Controller:vibrate
77
88Causes the Controller to vibrate.
99
10- controller:vibrate(duration)
10+ controller:vibrate(duration, power )
1111
1212### Arguments
1313
1414- ` number duration ` The amount of time to vibrate the Controller, in seconds.
15+ - ` number power (1) ` The strength of the vibration, between 0 and 1.
1516
1617### Returns
1718
@@ -20,5 +21,6 @@ Nothing
2021Notes
2122---
2223
23- On the HTC Vive, the value for ` duration ` currently must be less than .004 seconds. Call this
24- function several frames in a row for stronger or prolonged vibration patterns.
24+ On the HTC Vive, the value for ` duration ` currently must be less than .004 seconds, and the ` power `
25+ is always set to 1.0. Call this function several frames in a row over several frames for stronger
26+ or prolonged vibration patterns.
You can’t perform that action at this time.
0 commit comments