I'm trying to figure out how to detect how many of a certain type of object was passed through during a jump. For example:
In the above screenshot, I have three barrels. Above these three barrels is something I'm calling a "scorebox mask". In the screenshot there are three scorebox masks that are overlapping -- one for each barrel. I have a local variable that is going to be changed when I begin jumping. If I pass through two of these scoreboxes as I jump, I want this variable to be set to 2. If I pass through only one, it'll be set to 1, etc etc.
Any ideas?