How to check if an object is entire into a box collision?

If its always going in the same direction you could just place the collision box of the item far enough in the back. At the time its overlapping the actual box is somewhere further in the front.

Or make it bigger and work with “on end overlap”

You could work with locations, maybe make distance calculations

or use 2 collision boxes - 1 front 1 behind, when both entered you sure are within your desired location.

many ways to approach this

1 Like