(2 intermediate revisions by the same user not shown)
Line 3:
Line 3:
|Name=Virtual Haptic Point Sampler
|Name=Virtual Haptic Point Sampler
}}
}}
{{stub}}
Virtual Haptic Point sampler is a component that is used as a way of picking up haptic sensations from the virtual environment inside [[Resonite]], without needing a haptic device. This can be used as a way of making a device that beeps as it detects vibrations, temperature, pain, and force. It can also be used as a way of relaying vibration sensations via API to vibration devices not supported by Resonite, like speakers with base.
== Usage ==
This works as part of the game's robust [[Haptics]] system.
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Radius|Float|
|Radius|Float| The radius of the sphere for this.
|ShowDebugVisual|Bool|
|ShowDebugVisual|Bool| Whether to show the debug visual for this sampler.
|_debugVisual|{{RootFieldType|SlotCleanupRef`1|[[OverlayFresnelMaterial|OverlayFresnelMaterial]]}}|TypeAdv2=true| the material on the sphere of the current generated debug visual. Is null when <code>ShowDebugVisual</code> is false.
|Vibration|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv6=true| the vibration sensations picked up by this haptic point sampler.
}}
}}
== Behavior ==
== Usage ==
{{Note|This component will do nothing locally unless the user has haptic feedback enabled in their settings!|warning}}
== Examples ==
== Examples ==
Line 24:
Line 27:
[[Category:Components:Input:Haptics{{#translation:}}|Virtual Haptic Point Sampler]]
[[Category:Components:Input:Haptics{{#translation:}}|Virtual Haptic Point Sampler]]
[[Category:Components{{#translation:}}|Virtual Haptic Point Sampler]]
[[Category:Components{{#translation:}}|Virtual Haptic Point Sampler]]
[[Category:ComponentStubs]]
Latest revision as of 20:19, 7 February 2025
Component image
Virtual Haptic Point Sampler component as seen in the Scene Inspector
Virtual Haptic Point sampler is a component that is used as a way of picking up haptic sensations from the virtual environment inside Resonite, without needing a haptic device. This can be used as a way of making a device that beeps as it detects vibrations, temperature, pain, and force. It can also be used as a way of relaying vibration sensations via API to vibration devices not supported by Resonite, like speakers with base.
This works as part of the game's robust Haptics system.