The '''CylindricalDistanceHapticFilter''' component filters haptic device influences multiplicatively depending on their position within a range of 2 cylinders. One being an inner and one being an outer. Both of them are invisible though. This component works when used with a [[Component:HapticVolume]].
This works as part of the game's robust [[Haptics]] system.
This works as part of the game's robust [[Haptics]] system.
Line 9:
Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|StartRadius|Float|
|StartRadius|Float| The starting radius of the intensity gradient based on distance from the cylinders center line from end to end.
|EndRadius|Float|
|EndRadius|Float| The ending radius of the intensity gradient based on distance from the cylinders center line from end to end.
|StartRadiusIntensity|Float|
|StartRadiusIntensity|Float| The starting intensity of the intensity gradient based on distance from the cylinders center line from end to end.
|EndRadiusIntensity|Float|
|EndRadiusIntensity|Float| The ending intensity of the intensity gradient based on distance from the cylinders center line from end to end.
|RadiusPower|Float|
|RadiusPower|Float| The amplification of the intensity gradient based on distance from the cylinders center line from end to end.
|StartAxisOffset|Float|
|StartAxisOffset|Float| Used to define the distance from the cylinder end cap to start the intensity gradient.
|EndAxisOffset|Float|
|EndAxisOffset|Float| Used to define the distance from the cylinder end cap to end the intensity gradient.
|StartAxisIntensity|Float|
|StartAxisIntensity|Float| The starting intensity value for the intensity gradient based on the distance to the cylinder cap.
|EndAxisIntensity|Float|
|EndAxisIntensity|Float| The ending intensity value for the intensity gradient based on the distance to the cylinder cap.
|AxisPower|Float|
|AxisPower|Float| How much to amplify the intensity of the intensity gradient based on the distance to the cylinder cap.
}}
}}
== Usage ==
== Usage ==
Attach to a slot with a valid and working [[Component:HapticVolume]] to add to the list of multiplicative haptic filters.
Cylindrical Distance Haptic Filter component as seen in the Scene Inspector
The CylindricalDistanceHapticFilter component filters haptic device influences multiplicatively depending on their position within a range of 2 cylinders. One being an inner and one being an outer. Both of them are invisible though. This component works when used with a Component:HapticVolume.
This works as part of the game's robust Haptics system.