hoverrumbleplayer - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Interaction.Feedback
Inherits from UnityEngine.MonoBehaviour
Allows playing a rumble based on hover events of an interactable.
public class HoverRumblePlayer : MonoBehaviour| 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. |
| 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. |