Meta accounts are here: you can create a Meta account to log into VR devices. 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