๐Item Visibility
a.k.a the basics of the Hider component
Last updated
a.k.a the basics of the Hider component
Last updated
To make an item that can only be collected once, letโs create another link.
Click on the collectible and add the โHiderโ component, and then go to Linking.
Add another link by pressing + and select โInteracted,โ then link back onto the object itself by clicking a little box that will appear just above the + on the top right corner. Select โHideโ โ now, when you interact to collect the item, it will disappear.
Objects that have 'disappeared' will still have collision on them - meaning, you can still run into them and they will act as an invisible wall. To avoid this, you'll need to also assign the entity the Collision Toggler component, and create some more links.
Learn how to do that here.