This component is not intended to be used directly. Instead, use one of the components that inherit from this one.
This component handles detecting interactions with the player's hand. When a hand is brought within it's radius, a tooltip will appear.
Example of the tooltip that appears
Field | Description |
---|---|
Interactable ID | The catalog ID that this interactable will use to define it's behaviour. |
Allowed Hand Side | Which hands the interactable will acknowledge. |
Axis Length | Extends the touch radius along the y-axis (green arrow) by the length provided. |
Touch Radius | How far a hand must be before the player can interact. |
Artificial Distance | See the section below. |
Touch Center | Determines the center of the touch radius. |
When the player's hand is within the range of multiple interactables, the closest one is prioritized.
Artificial distance is a fake distance added to the player's hand while checking which interactable is the nearest. Setting this to a high value gives it a low priority when working out which interactable to use, while a low (or negative) value will give it a high priority compared to other interactables.
Generally, you can leave this value at 0
.
[HandleRagdoll]: {{ site.baseurl }}{% link Components/ThunderRoad/HandleRagdoll.md %} [Rope]: {{ site.baseurl }}{% link Components/ThunderRoad/Rope.md %} [Wearable]: {{ site.baseurl }}{% link Components/ThunderRoad/Wearable.md %}