Component:VelocityHapticFilter

From Resonite Wiki
Component image 
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.

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.
VelocitySmoothTime Float How much to smooth the changes in velocity this component works with.
StartVelocity Float The velocity to map to StartIntensity.
EndVelocity Float The velocity to map to EndIntensity.
StartIntensity Float The intensity to use when a haptics device is moving at StartVelocity through a valid Component:HapticVolume on the same slot.
EndIntensity Float The intensity to use when a haptics device is moving at EndVelocity through a valid Component:HapticVolume on the same slot.
Power Float The multiplier of the haptics intensity before applying it.

Usage

Attach to a slot with a valid and working Component:HapticVolume to add to the list of multiplicative haptic filters.

Examples

Can be used to make haptics that feel like the user's body is moving through water.

See Also