Destroy actor

I am working on a Inventory system from a Tut. Now I have added the function Destroy Actor and it works as it should on my Items. But its also destroying anything else, inc. the floor so I keep falling down. How can a Issue like that be fixd?

Make sure the target pin is correctly set for the destroy actor blueprint. Only the actors you want to destroy should be connected to this pin.

Here is a vid. The system is setup as the person made the Tut, so i dont get it :slight_smile:

The try add item output boolean should be connected to the branch that decides to destroy the actor. The actor should only be destroyed if the add item function is successful (probably has an internal check to see if the linetrace hit an item first).

1 Like