Sasha Szpakowski

Results 554 comments of Sasha Szpakowski

**Original comment by mkdxdx (Bitbucket: [mkdxdx](https://bitbucket.org/mkdxdx), GitHub: [mkdxdx](https://github.com/mkdxdx)).** ---------------------------------------- Well, tbh, i have (atleast, had) same issue with stencil functions (e.g. when i want to draw dynamically sized stencil that...

**Original comment by airstruck (Bitbucket: [airstruck](https://bitbucket.org/airstruck), GitHub: [airstruck](https://github.com/airstruck)).** ---------------------------------------- I haven't used the stencil functions, but in general I think any function with a callback parameter could benefit from passing...

**Original comment by Antonio Moder (Bitbucket: [AntonioModer](https://bitbucket.org/AntonioModer), GitHub: [AntonioModer](https://github.com/AntonioModer)).** ---------------------------------------- Hi **airstruck**. :) Need observe strict physics API for awoid any confusion. I myself use "fixture:setUserData" or "body:setUserData" to draw...

**Original comment by mkdxdx (Bitbucket: [mkdxdx](https://bitbucket.org/mkdxdx), GitHub: [mkdxdx](https://github.com/mkdxdx)).** ---------------------------------------- I guess the point of not using userdata is that it imposes unwanted coupling to an entity object structure. I.e. it...

**Original comment by airstruck (Bitbucket: [airstruck](https://bitbucket.org/airstruck), GitHub: [airstruck](https://github.com/airstruck)).** ---------------------------------------- Hi @AntonioModer, I think that approach can work when you already know about the objects you want to draw, but if...

**Original comment by Antonio Moder (Bitbucket: [AntonioModer](https://bitbucket.org/AntonioModer), GitHub: [AntonioModer](https://github.com/AntonioModer)).** ---------------------------------------- **airstruck**: * "but if you don't know about the objects before finding them with queryBoundingBox, you never have a chance...

**Original comment by airstruck (Bitbucket: [airstruck](https://bitbucket.org/airstruck), GitHub: [airstruck](https://github.com/airstruck)).** ---------------------------------------- @AntonioModer, I'm not sure how getBodyList would help in this case. The information I need in the callback is a list...

**Original comment by airstruck (Bitbucket: [airstruck](https://bitbucket.org/airstruck), GitHub: [airstruck](https://github.com/airstruck)).** ---------------------------------------- @mkdxdx, just saw the edit to your earlier comment. Yes, callable tables are a workaround for eliminating closures, and there can...

**Original comment by Bart van Strien (Bitbucket: [bartbes](https://bitbucket.org/bartbes), GitHub: [bartbes](https://github.com/bartbes)).** ---------------------------------------- I think this should be fairly easy, but only for those callbacks that are called immediately, like World:queryBoundingBox' callback....

**Original comment by airstruck (Bitbucket: [airstruck](https://bitbucket.org/airstruck), GitHub: [airstruck](https://github.com/airstruck)).** ---------------------------------------- Hmm, I'll take a look. This and the stencil thing are the only API functions I'm aware of that take callbacks,...