how many pixels is a meter in Box2D?
问题 Question is simple so, no codes! If someone knows Box2D and SDL2, then, please tell me how to wrap SDL_Rect with b2body. Ofcourse, it requires to know the conversion of metre to pixel and vice versa. This is because Box2D measures distance in metres. Can you give me a simple expression or function to convert metres(of Box2D) to pixels or pixels to metres(of Box2D)? 回答1: Can you give me a simple expression or function to convert metres(of Box2D) to pixels or pixels to metres(of Box2D)?