hoverrumbleplayer - eisclimber/ExPresS-XR GitHub Wiki

HoverRumblePlayer

Class in ExPresSXR.Interaction.Feedback

Inherits from UnityEngine.MonoBehaviour

Summary

Allows playing a rumble based on hover events of an interactable.

public class HoverRumblePlayer : MonoBehaviour

Methods

Name Description
PerformDefaultHapticEventOnCurrentTarget() Performs the rumble specified by '_defaultRumble'.
PerformHapticEventOnCurrentTarget(RumbleDescription,HapticImpulsePlayer) Use this function to send haptic Events to the current hapticTarget.
Note: If targetOverride is active the hapticTarget will be updated automatically.

Properties

Name Description
FindTargetOnHover If enabled and attached to a XRBaseInteractable automatically updates the hapticTarget with the latest hovering controller.
HapticsTarget HapticImpulsePlayer to receive haptic events.
⚠️ **GitHub.com Fallback** ⚠️