Closed ghost closed 1 year ago
I think I found the problem
world.queryAABB(MyCallBack(), AABB.withVec2(Vector2(-2000, -2000), Vector2(2000, 2000)));
It seems like you can't make this call in onLoad method. when I move this part to onMount or any other lifecycle methods, It works.
According to box2d documentations this code shoud work but nothing gets logged.
There is clearly overlap between game objects and queried aabb but reportFixture never gets called. Have I missed something?