Component:SineHapticFilter

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

The SineHapticFilter component is used to make haptics triggered by Components on the same slot change in intensity over time like its riding waves.

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.
UseGlobalTime Bool Whether to use the global time or the initial local time for initial time when touched.
DistanceScale Nullable`1<Float> An optional value on how to add to the offset in time for the waves of intensity based on distance of the haptic device from the slot this component is on.
AxisScale Nullable`1<Float3> An optional value on how to add to the offset in time for the waves of intensity based on how close it is to a line direction in local space.
MinIntensity Float The minimum haptics intensity this component will send.
MaxIntensity Float The maximum haptics intensity this component will send.
Frequency Float The speed at which the sinewave goes up and down over time.

Usage

Attach to a slot with a HapticVolume and a collider. This component will then start working.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also