Not a huge issue, but when I included centerx and centery parameters I got an error saying 'number expected' which went away when I included 0 for the angle parameter. So, it seems if you include more than the first 2 parameters then you must include all 5. Just wanted to bring up in case it wasn't intended.
Comments
In box 2d there are two methods:
- void SetAsBox(float32 hx, float32 hy);
- void SetAsBox(float32 hx, float32 hy, const b2Vec2& center, float32 angle);
Well actually one method with argument overloading, but still, this is where limitation comes from