Hello,
Box2DX is really out of date and has some bugs (I can't find the bodies enclosing a given point, for example, and applying forces or impulses to bodies seems to do nothing) so I've brought Box2D into VS 2017 and written a very straightfoward static wrapper.
Unfortunately:
Seems like I've got something fundamentally wrong - hopefully the symptoms will speak for themselves, but if not, I'm happy to show you my code.
Does anyone have any ideas what's going on?
Box2DX is really out of date and has some bugs (I can't find the bodies enclosing a given point, for example, and applying forces or impulses to bodies seems to do nothing) so I've brought Box2D into VS 2017 and written a very straightfoward static wrapper.
Unfortunately:
- Everything falls at the same speed. Gravity is 0, -10
- Nothing bounces. Restitution 0.5f Density 10.0f
- When I create a 3rd polygon (I'm just using boxes to begin with) b2PolygonShape::ComputeMass fails to assert with area 0 on b2Assert(area > b2_epsilon); (line 431)
Seems like I've got something fundamentally wrong - hopefully the symptoms will speak for themselves, but if not, I'm happy to show you my code.
Does anyone have any ideas what's going on?