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

This should do it. Basically it takes an actor (your pawn perhaps) and tests to see if the actor location is within the box bounds of a container like a triggerbox or a collision box or whatever you choose. This only tests for a single vector of the actors location within the container and does not test beyond that. If you need full collision testing, repeat the same code for the Actor that you see for the Container and test bounds within bounds or write a recursive function to test multiple vectors within the container bounds.

This assumes the input objects inherit from the Actor class.

1 Like