Missing Methods in Box2d

BlitzMax Forums/Brucey's Modules/Missing Methods in Box2d

Armitage 1982(Posted 2009) [#1]
Hi Bruce

Hope you had fun lately :)

I think there is missing Method in Box2d about b2Body.SetMass() and b2bodyDef.GetMassData() (and maybe b2body.getMassData() too).

It's no big deal since you can set Mass when creating a body (via his b2bodyDef.setMassData()).
But this could be a problem if you want to setup the mass data with existing b2body.
I think it's possible since few releases of Box2d.


Armitage 1982(Posted 2009) [#2]
Was I wrong? ^^


Brucey(Posted 2009) [#3]
Hi :-)

I've update SVN with :
* Added b2Body SetMass() method.
* Added b2BodyDef GetMassData() method.

Sorry for the delay.


Armitage 1982(Posted 2009) [#4]
No problem Brucey !
Thanks a lot

No delay at all take your time ;)