Open yokobond opened 3 years ago
Add haptic actuator block.
vibrate P(playerIndex) intensity (intensity) during (duration) seconds Vibrate the selected controller with pulse the intensity [0-100] during the duration seconds.
vibrate P(playerIndex) intensity (intensity) during (duration) seconds
ref: GamepadHapticActuator - Web APIs | MDN gamepadHapticActuatorInstance.pulse(value, duration).then(function(result) { ... });
gamepadHapticActuatorInstance.pulse(value, duration).then(function(result) { ... });
please Dear Yokobond add the vibration Block as in the TurboWarp AddOn
Add haptic actuator block.
vibrate P(playerIndex) intensity (intensity) during (duration) seconds
Vibrate the selected controller with pulse the intensity [0-100] during the duration seconds.ref: GamepadHapticActuator - Web APIs | MDN
gamepadHapticActuatorInstance.pulse(value, duration).then(function(result) { ... });