You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am developing a game, but cant figure it out, so please i need some koefficient to convert pixels -> meters and meters -> pixel. I am using p2.js with pixi.js v5
The text was updated successfully, but these errors were encountered:
Hello! Try to choose a coefficient so your physics objects are around 1 meter in size. This is what p2 is optimized for.
I'm sorry I didn't react right away, I just tried to set the same value in the engine as in pixels, but still I would like some more concise solution, maybe you have it? I just need a function to convert pixels to meters, this is very important
I am developing a game, but cant figure it out, so please i need some koefficient to convert pixels -> meters and meters -> pixel. I am using p2.js with pixi.js v5
The text was updated successfully, but these errors were encountered: