Component:RadialDistanceHapticFilter

From Resonite Wiki
Component image 
Radial Distance Haptic Filter component as seen in the Scene Inspector

The RadialDistanceHapticFilter controls haptic areas on the same slot so that haptics within their range are influenced differently depending on how far away they are from the slot center in local space. The start and end intensities when mapped to the haptic devices Distance from the slot, the power is unclamped.

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.
StartRadius Float The starting radius point (Usually 0 distance). When the haptic device point is this Distance away from the slot this component is on in local space, the haptic gets a signal of Power*StartIntensity
EndRadius Float The ending radius point (Usually 0 distance). When the haptic device point is this Distance away from the slot this component is on in local space, the haptic gets a signal of Power*StartIntensity.
StartIntensity Float The intensity*Power for the haptic device when it is StartRadius from the slot this component is on.
EndIntensity Float The intensity*Power for the haptic device when it is EndRadius from the slot this component is on.
Power Float How much to amplify the intensity for the haptic device.

Usage

Attach to a slot with a Component:HapticVolume for the simplest use case. Bringing a user's VR controllers closer or further away changes that device's haptics intensity.

Examples

Can be used to make an object have an aura that gets more intense as the user goes to grab it.

See Also