Component:HapticVolume

From Resonite Wiki
Component image 
Haptic Volume component as seen in the Scene Inspector

Haptic Volumes allows a user to feel haptics through a collider set to Haptic Trigger shared on the same slot.

Haptic Volumes can be paired with Haptic Filters placed on the same slot to give more precise control over a user's haptics. Each haptic filter is applied by multiplying each influence together, hence being multiplicative.

This works as part of the game's robust Haptics system.

Fields

Fields
Name Type Description
persistent Bool Determines whether or not this item will be saved to the server.
UpdateOrder Int Controls the order in which this component is updated.
Enabled Bool Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't.
Sensation SensationClass The type of haptic you want to do, for controllers the haptic types are subtly different variations. Specifying this is useful for haptic suits that have more advanced haptic motors.
Intensity Float The haptic intensity ranging from zero to one, zero being none one being max that the device allows.
SensationHints direct SyncFieldList`1<String> Allows triggering specific predefined sensations with certain haptic devices. Only useful for OWO haptic vests currently.

Usage

When placed on a slot with a collider component, the collider's type automatically switches to haptic trigger.

Examples

See Also