(2 intermediate revisions by one other user not shown)
Line 3:
Line 3:
|Name=Direct Tag Haptic Source
|Name=Direct Tag Haptic Source
}}
}}
{{stub}}
The '''DirectTagHapticsSource''' component allows driving haptic sensations for a given haptic point directly, rather than using the haptic volume system.
== Usage ==
This works as part of the game's robust [[Haptics]] system.
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|HapticTag|String|
|HapticTag|String| The tag to influence.
|Force|Float|
|Force|Float| The force addition for haptics with the <code>HapticTag</code> tag.
|Temperature|Float|
|Temperature|Float| The temperature addition for haptics with the <code>HapticTag</code> tag.
|Pain|Float|
|Pain|Float| The pain addition for haptics with the <code>HapticTag</code> tag.
|Vibration|Float|
|Vibration|Float| The vibration addition for haptics with the <code>HapticTag</code> tag.
}}
}}
== Behavior ==
== Usage ==
* works only with tagged haptic points. This component must have a matching [[Tag]] to a configured haptic device and must be present under the user to work
* It doesn't prevent the haptic volumes from sending haptics - the effects are additive. If you want only this component to control the haptics, do not setup a corresponding tagged haptic point
== Examples ==
== Examples ==
* This can be useful to drive haptics using arbitrary mechanisms (e.g. driving with ProtoFlux), such as grabbing ear/tail dynamic bones, syncing them to world audio reactivity and so on
== See Also ==
== See Also ==
Line 22:
Line 27:
[[Category:Components:Input:Haptics{{#translation:}}|Direct Tag Haptic Source]]
[[Category:Components:Input:Haptics{{#translation:}}|Direct Tag Haptic Source]]
[[Category:Components{{#translation:}}|Direct Tag Haptic Source]]
[[Category:Components{{#translation:}}|Direct Tag Haptic Source]]
[[Category:ComponentStubs]]
Latest revision as of 21:54, 20 March 2025
Component image
Direct Tag Haptic Source component as seen in the Scene Inspector
The DirectTagHapticsSource component allows driving haptic sensations for a given haptic point directly, rather than using the haptic volume system.
This works as part of the game's robust Haptics system.
The vibration addition for haptics with the HapticTag tag.
Usage
works only with tagged haptic points. This component must have a matching Tag to a configured haptic device and must be present under the user to work
It doesn't prevent the haptic volumes from sending haptics - the effects are additive. If you want only this component to control the haptics, do not setup a corresponding tagged haptic point
Examples
This can be useful to drive haptics using arbitrary mechanisms (e.g. driving with ProtoFlux), such as grabbing ear/tail dynamic bones, syncing them to world audio reactivity and so on