when I scale the world like
game.world.scale=0.5
Then the box2d bodies of the sprites are offset relative to the sprite. Additionally, the body is not scaled down like the sprite. This means the body and sprite are not equal anymore.
Could anyone experience the same issue? How can I scale a box2d body to fit a sprite which was scaled by world?
You see the body is not following the assets? I was seeing this effect within my game, too. But (it’s a wtf moment), the assets collide with each other, not the bodies. Seems like the bodies are irrelevant as the sprites collide with each other and not their bodies.
I expected a different behaviour. Whatever. As long as it works as expected.