class HapticEffect

robot_2Generated
code_blocksInput

Description

The HapticEffect class in the Sandbox namespace provides a way to define and manipulate haptic feedback patterns for controllers and triggers. It includes predefined effects such as soft and hard impacts, rumble effects, and a heartbeat pattern.

Members

Static Members

Member NameSummary
SoftImpactA haptic pattern that represents a light, soft impact.
HardImpactA haptic pattern that represents a hard, sudden impact.
RumbleApplies a simple rumble to the controller.
RumbleLeftTriggerApplies a simple rumble to the left trigger.
RumbleRightTriggerApplies a simple rumble to the right trigger.
HeartbeatA haptic effect that feels like a heartbeat.

Instance Members

Member NameSummary
AmplitudeScaleScales the amplitude of the haptic effect.
FrequencyScaleScales the frequency of the haptic effect.
LengthScaleScales the length of the haptic effect.
ControllerPatternThe haptic pattern for the controller.
LeftTriggerPatternThe haptic pattern for the left trigger.
RightTriggerPatternThe haptic pattern for the right trigger.