How can I check if something is STILL WITHIN a trigger volume?

Not if the object is spawned inside it.

I was looking for something similar and tried solution and maybe I’m missing something but it didn’t work right for me. Played around for a bit and came up with this solution so I thought I’d post it here if anyone is interested:

This answer is NOT useless, it helped me :3

The answer is useless if it is applied to the trigger blueprint. However, the answer was meant to be in the “something” blueprint, not the trigger blueprint.

337126-isoverlappingactor.jpg

1 Like

I can confirm that the answer is indeed useless and does not account for many edge cases.

Here’s an example I set up. I don’t know if this will account for actors spawning within the volume as I haven’t tested for that.

It uses the object’s tick event to run code and Get Overlapping Actors to know who is within the volume at that time.

The use of Event ActorBeginOverlap and Event ActorEndOverlap is to figure out if Event Tick should be running.

Set the Tick to disabled by default, also you can change the Tick Interval if you want to run updates slower than every frame. I have mine running once per second.

I wouldn’t say this is production ready, but it solved the situation I was testing against and I figured I’d share it.


this is a way i came up with. Casting inside event tick obviously bad but this atleast checks all the actors inside a hitbox i have. What im basically doing is checking inside my water bp and adding force to make them float when they are inside.