Component image File:HapticPointDataComponent.pngHaptic Point Data component as seen in the Scene Inspector
The HapticPointData component gets data about a haptics device on a particular user.
This works as part of the game's robust Haptics system.
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. |
Index
|
Int | The device index to get info on. |
User
|
direct UserRef | The user to get a device of Index from.
|
Force
|
Float | The device's perceived force. |
Temperature
|
Float | The device's perceived temperature. |
Pain
|
Float | The device's perceived pain. |
Vibration
|
Float | The device's perceived Vibration. |
TotalActivationIntensity
|
Float | The total activation intensity of the haptic's device. |
Usage
Attach to a slot and provide a User
for this component to start giving values.
Examples
Can be used to create a custom indicator for haptics, or to drive protoflux for haptics.