Component:DebugHapticPoint: Difference between revisions

From Resonite Wiki
add info
add haptics page link and clean headers
 
Line 5: Line 5:
The '''DebugHapticPoint''' component sends Force sensations to a haptic device as well as gets the name of the haptic device.
The '''DebugHapticPoint''' component sends Force sensations to a haptic device as well as gets the name of the haptic device.


== Usage ==
This works as part of the game's robust [[Haptics]] system.
 
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Intensity|Float| Sends a sensation of force of this intensity to the Haptic device at <code>Index</code>
|Intensity|Float| Sends a sensation of force of this intensity to the Haptic device at <code>Index</code>
Line 11: Line 13:
|Position|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv2=true| The name of the haptic device at <code>Index</code>
|Position|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv2=true| The name of the haptic device at <code>Index</code>
}}
}}
== Usage ==
{{stub}}


== Examples ==
== Examples ==

Latest revision as of 20:31, 7 February 2025

Component image 
Debug Haptic Point component as seen in the Scene Inspector

The DebugHapticPoint component sends Force sensations to a haptic device as well as gets the name of the haptic device.

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.
Intensity Float Sends a sensation of force of this intensity to the Haptic device at Index
Index Int The haptic device to send Intensity to and get a name for.
Position raw output of String The name of the haptic device at Index

Usage

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.

See Also