We’re introducing Meta accounts in August 2022: a new way to log into VR devices that doesn’t require a Facebook account. Learn more

PLAY HAPTICS ON CONTROLLER

Play controller haptics.

Appearance in Composition Pane
Description

Play haptics on controller will initiate a haptics vibration on a hand controller for a duration in ms. It can either play on the player’s right hand or left hand. The intensity can be set to either Very_light, Light, Medium, or Strong. There are three types of vibrations: Soft, Course, and Sharp. Soft uses a sine wave, Course uses a square wave, and Sharp uses a saw wave.
Parameters

controller, player, number, intensity, vibration

PREREQUISITE READING

OWNER OF OBJECT precedes this tutorial


Example 1: Play haptics on index trigger press

Applying haptics is a great way to give responsive feedback to the player for actions, like in this case, pressing their index trigger.

Next Up