Box Collision trigger begin and end overlap in same frame

While I agree with almost everything you said, sometimes component overlaps randomly trigger functionally at the same time and a variable value or array value will simultaneously return true and false in the same frame (or null/object). That is why I had to use the gate. It is basically a shorthand for a redundant do once with an additional local bool. Why it works though when setting a variable and checking it yourself doesn’t sometimes is the local bool triggers and checks before the other values so it locks it properly. But in a normal situation just setting a variable yourself is better and more performant.

1 Like