Closed filbs111 closed 7 years ago
drawing twice fixed (seems was redrawing previous block when no path loops). however, still have problem that final destruction to remove last part of a landscape block apparently isn't applied. guess to do with new path being empty.
TODO delete the body once all fixtures purged
still spams logs a bit - maybe can still do update landscape for a deleted block. seems to work well enough for now.
seen after bumped bomb explosion radius up to 200 and shoot landscape a lot. blocks are semi transparent, and seems can be drawn more than once (appear darker). this seems dependent on where player is ie affected by culling. also logs loads of "no loops in clippable path. this is unexpected" which appears related - if this is so, skips the bounds clipping check. however, in this case, would expect nothing to be drawn at all.
seems to happen if destroy all of a level block.