I'm using QueryAABB (for an explosion, triggered by a post solve contact event) and it works successfully in all regards EXCEPT that it randomly does not report objects that are inside the bounds. I can trigger the same situation of objects over and over with the objects in the exact same positions, and it randomly leaves objects out. Sometimes it will report everything in the callbacks, and other times it will only report 1 callback (of over 10 items that are in the area).
Does anyone have any ideas why this might be? Should QueryAABB only be called at a certain phase in a step, or something similar?
Thanks!
Does anyone have any ideas why this might be? Should QueryAABB only be called at a certain phase in a step, or something similar?
Thanks!