Using a trigger box
Hi :) so its probably a easy task but for me its not really :v.. I just need to make that when I enter a trigger box my ball that my character is holding will be deleted, I know I need to use 'begin overlap' but.. thats kind of all! I dont really know where and how to do it ;o
asked Apr 13 '15 at 11:05 PM in Blueprint Scripting
If the ball is a separate actor from the player, take the actor output from the overlap, use Get Class, match that aginast a Class = Class node, and use that resulting boolean in a Branch. If True, go to a Destroy Actor node and use the overlap actor output as the input for that.
If it's a component of the character, you can use the overlap actor output to cast to the character and set the visibility of the ball component to hidden.
answered Apr 14 '15 at 01:11 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here