The '''HapticPointSampler''' component acts as the receiver of haptics events and the in game world point for a haptics device recognized by the Resonite [[Haptics]] system.
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
|Radius|Float|
|Radius|Float| How big the haptics sampling radius is.
|ShowDebugVisual|Bool|
|ShowDebugVisual|Bool| Whether to show the debug visual.
|SamplingUser|{{RootFieldType|UserRef}}|TypeAdv3=true| The user this belongs to.
|HapticPointIndex|Int|
|HapticPointIndex|Int| The haptics device by index on <code>SamplingUser</code>'s input interface to send haptics sampled from this device to.
}}
}}
== Usage ==
== Usage ==
Automatically generated by the game. If you need one for an arbitrary device or to send via web socket or OSC, see [[Component:VirtualHapticPointSampler|Virtual Haptic Point Sampler]] component.
== Examples ==
== Examples ==
{{stub}}
== See Also ==
== See Also ==
Line 24:
Line 26:
[[Category:Components:Input:Haptics{{#translation:}}|Haptic Point Sampler]]
[[Category:Components:Input:Haptics{{#translation:}}|Haptic Point Sampler]]
[[Category:Components{{#translation:}}|Haptic Point Sampler]]
[[Category:Components{{#translation:}}|Haptic Point Sampler]]
[[Category:ComponentStubs]]
Latest revision as of 20:09, 9 February 2025
Component image
Haptic Point Sampler component as seen in the Scene Inspector
The HapticPointSampler component acts as the receiver of haptics events and the in game world point for a haptics device recognized by the Resonite Haptics system.
This works as part of the game's robust Haptics system.
The haptics device by index on SamplingUser's input interface to send haptics sampled from this device to.
Usage
Automatically generated by the game. If you need one for an arbitrary device or to send via web socket or OSC, see Virtual Haptic Point Sampler component.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.