Problems checking if Certain actor is overlapping trigger volume
I'm having trouble detecting if my Spawned Grenada actor is overlapping the trigger volume i have on my level and i'm probably missing something simple or doing it just wrong and after countless google pages have still came up with nothing,
Here are a few of the setups i have tried
These were placed in my Level Blueprint
This First one got me no where it doesn't even detect that it there neither throwing off a true or false
This second setup, i tried at least detects something overlapping but both come up false, it will print out
Player Character, False
and when i drop a grenade it prints
So it is detecting and triggering, i Just don't understand why it comes up as false The Variable i am using is set to the grenade blueprint actor, i tried making it public and replicating it which i don't think i need to, and i'm fresh out of ideas at this point.
lets begin with the solution, your second picture is on the right track so working with that lets get rid of the equal and the branch and replace them with a cast to grenade class.
currently the issue with the second one is that you are testing to see if the overlapping actor is a specific instance of grenade so asking is it a specific grenade rather than just asking it is a grenade (dont care which grenade just that it is a grenade). as it is you would need to set the grenade variable to the one that you spawn and that happens to be overlapping, thats a bit more trouble than its worth. so you can use a cast instead and it will handle things with ease.
answered Apr 08 '19 at 10:00 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here