Component:VirtualHapticPointSampler

From Resonite Wiki
Revision as of 12:39, 17 October 2024 by 989onan (talk | contribs) (Add some more info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Usage

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.
Radius Float The radius of the sphere for this.
ShowDebugVisual Bool Whether to show the debug visual for this sampler.
_debugVisual direct SlotCleanupRef`1<OverlayFresnelMaterial> the material on the sphere of the current generated debug visual. Is null when ShowDebugVisual is false.
Force raw output of Float The force sensations picked up by this haptic point sampler.
Pain raw output of Float The pain sensations picked up by this haptic point sampler.
Temperature raw output of Float The temperature sensations picked up by this haptic point sampler.
Vibration raw output of Float the vibration sensations picked up by this haptic point sampler.

Behavior

This component will do nothing locally unless the user has haptic feedback enabled in their settings!

Examples

See Also