I've been trying to port the Bridge example, and everything appears to be working fine apart from the actual drawing of the graphics.
It seems that Box2D is designed to work at a specific scale (where 1 pixel is not equal to 1 Box2D unit). So, it needs some kind of scaling to display the graphics properly.
Anyhoo, if anyone wants to see where I'm going wrong with the example, the code's in SVN at the usual place.
The mod isn't finished yet, but I tend to write my mods and examples at the same time to check that the wrap is working.
:-)
It seems that Box2D is designed to work at a specific scale (where 1 pixel is not equal to 1 Box2D unit). So, it needs some kind of scaling to display the graphics properly.
Anyhoo, if anyone wants to see where I'm going wrong with the example, the code's in SVN at the usual place.
The mod isn't finished yet, but I tend to write my mods and examples at the same time to check that the wrap is working.
:-)