The '''SineHapticFilter''' component is used to make haptics triggered by Components on the same slot change in intensity over time like its riding waves.
== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|UseGlobalTime|Bool|
|UseGlobalTime|Bool| Whether to use the global time or the initial local time for initial time when touched.
|DistanceScale|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float|Float]]>'''|TypeAdv1=true| 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|'''[[Type:Nullable`1|Nullable`1]]<[[Type:Float3|Float3]]>'''|TypeAdv2=true| 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|
|MinIntensity|Float| The minimum haptics intensity this component will send.
|MaxIntensity|Float|
|MaxIntensity|Float| The maximum haptics intensity this component will send.
|Frequency|Float|
|Frequency|Float| The speed at which the sinewave goes up and down over time.
}}
}}
== Behavior ==
== Usage ==
Attach to a slot with a [[Component:HapticVolume|HapticVolume]] and a collider. This component will then start working.
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.