🧥

Get Body Slot

Node that works in pair with ⏺️Enable Trigger and 📥Enable Slot to let user put something on their body or head - like personal protective equipment. Or a hat 🎩.

image

Behavior

By itself - does nothing, provides slots required for ⏺️Enable Trigger or 📥Enable Slot

Usages

Require a user to take a hardhat and put it on their head, disable it afterwards

image

Since trigger (⏺️Enable Trigger) does nothing by itself, it is required to disable the GameObject of the hardhat some other way.

The same can be done with a choice of multiple hats, but let’s assume that only one is a correct choice

image

Here we have a trigger with static list of options. If any other hat other than Hard Hat will be equipped - it will automatically drop from the user hands with ⬇️Drop Item node and the user will be shown a negative notification. After that, it will be possible to grab any of 3 items.

Notes

Items that are slotted using 📥Enable Slot will Not follow slot after the node is done. So be sure to hide it or reparent it somewhere if that is what you need