Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by MikeH

I made some modifications to the Box2D plugin so that you can supply options to the BodyDef when the entity is initialized. I needed to specify that some entities would not rotate, and there was no way to pass that to the BodyDef constructor.

What's the best way to submit a patch?

1 decade ago by Ash_Blue

Do you have this up on Github by chance?

1 decade ago by MikeH

Actually, I found I could override the createBody function and write my own bodyDef inside it. Results in a bit of duplicated code from the Box2DEntity model, but it's minimal and allows me to see exactly what's going on.
Page 1 of 1
« first « previous next › last »