rumbleutility - eisclimber/ExPresS-XR GitHub Wiki
Class in ExPresSXR.Interaction.Feedback
Inherits from System.Object
A set of utility functions to perform rumbles on HapticImpulsePlayers, supporting the use of HapticImpulsePlayerProxies.
public static class RumbleUtility| Name | Description |
|---|---|
| FindHapticsOfTransform(Transform) | Finds a HapticImpulsePlayer of the provided Transform respecting HapticImpulsePlayerProxies. |
| To support the use with interactables, the parent of fromTransform will also be searched as fallback. | |
| PerformConstantRumble(float,float,HapticImpulsePlayer) | Triggers a constant rumble with the given strength for the given duration on the target (if possible). |
| PerformRumble(RumbleDescription,HapticImpulsePlayer) | Triggers an Rumble Event for a duration with the given strength on the target (if possible). |