Friday, January 9, 2009

pybox2d svn r136

Added something I've wanted to for a long time.

Anywhere there's a b2Vec2, you should now be able to pass in a [length-2] list, tuple, or None -- (0,0). As I learn more about SWIG every time I try to throw some more functionality into Box2D.i, I'm more and more impressed with how much can be done with it.

Changes can be seen in and I'll eventually update the rest of the testbed examples.

Oh yeah, also fixed a longtime standing bug with unset userData causing seg faults.

Any other things you can think of that would be convenient? I'll probably allow matrices in list format.

If you notice any side-effects, please let me know as always.


  1. Hi,

    I have started testing pyBox2D with Mekanimo and it is working great.

    I should be able to have a releasable version in about ten days and can send you a copy before a public release if you wish.

    What is the best way to communicate with you? You can contact me at mangabasi at gmail

    Best regards,


  2. I'm glad to hear that it's working well for you. Mekanimo looks to be a great project.