Wearable

The Wearable component is used to create places to equip armour on a creature’s body. This component is generally parented to a RagdollPart.

Inspector

Field Description
wardrobeChannel [Dropdown] The channel this wardrobe supports
wardrobeLayers [Dropdown] A list of layers for this channel

Data

Field Description
interactableId [Dropdown] (Only needed for non-json handles)
Insert Interactable ID here.
highlighterTransform The position the highlighter will show at

Touch

Field Description
allowedHandSide What hand is allowed to grab the handle.
- Both
- Right
- Left
axisLength The length of which the player can grab along.
If >0, a button will appear and allow you to adjust the length along its points
touchRadius The radius of which the player can grab the handle
artificialDistance When the player’s hand is within the range of multiple interactables, the closest one is prioritized.

Artifical 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.
touchCenter Determines the center of the touchRadius

This site uses Just the Docs, a documentation theme for Jekyll.