(One intermediate revision by the same user not shown)
Line 3:
Line 3:
|Name=Velocity Haptic Filter
|Name=Velocity Haptic Filter
}}
}}
{{stub}}
The '''VelocityHapticFilter''' component is used to influence the haptics a user feels on a haptics device as the device moves through a [[Component:HapticVolume]] at different speeds.
== Usage ==
This works as part of the game's robust [[Haptics]] system.
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|VelocitySmoothTime|Float|
|VelocitySmoothTime|Float| How much to smooth the changes in velocity this component works with.
|StartVelocity|Float|
|StartVelocity|Float| The velocity to map to <code>StartIntensity</code>.
|EndVelocity|Float|
|EndVelocity|Float| The velocity to map to <code>EndIntensity</code>.
|StartIntensity|Float|
|StartIntensity|Float| The intensity to use when a haptics device is moving at <code>StartVelocity</code> through a valid [[Component:HapticVolume]] on the same slot.
|EndIntensity|Float|
|EndIntensity|Float| The intensity to use when a haptics device is moving at <code>EndVelocity</code> through a valid [[Component:HapticVolume]] on the same slot.
|Power|Float|
|Power|Float| The multiplier of the haptics intensity before applying it.
}}
}}
== Behavior ==
== Usage ==
Attach to a slot with a valid and working [[Component:HapticVolume]] to add to the list of multiplicative haptic filters.
== Examples ==
== Examples ==
Can be used to make haptics that feel like the user's body is moving through water.
Velocity Haptic Filter component as seen in the Scene Inspector
The VelocityHapticFilter component is used to influence the haptics a user feels on a haptics device as the device moves through a Component:HapticVolume at different speeds.
This works as part of the game's robust Haptics system.