I have some objects (armor) scattered around the map. When player is level 1 they can only pick up level 1 armor. When the armor is worn out it is detached from the player in the shot below. Then they are level 2 and can pick up level 2 armor and so on.
The first item works great. The second and third will attach, but when the armor expires they won’t detach.
I assume it’s because the cool down (Or H key) are triggering detachment of all the items once? Then won’t work again?
Any ideas to simplify this, can I check which item is attached and only detach it?