I have a game world of size 800x480 using a FitViewport and was initally rendering box2d bodies + fixtures using pixels so all the physics appeared floating and slow. Looking at the documentation I realised box2d uses metrics units so I went through and converted the box2d positions and sizes by a factor of 32 so I end up with a box2d world of 25x15 metres.
The issue I'm having is that now box2d objects are rendered incredibly small. How can I scale them back so they appear regular size on screen?
Aucun commentaire:
Enregistrer un commentaire