I am Developing one Box2d based flash game. in that game i need to create one elliptical dynamic body.if i create shape like ellipse using vertex count and reference point. when it fall down into ground (colide with static body) that ellipse shape was broken into seprate bodies .Can any one help me for this issue
how to create elliptical shape in box2d
General DiscussionI would approximate the ellipse with a convex polygon.
will you elaborate.
In contrubutions folder you can find a capsule shape:
http://code.google.com/p/box2d/source/b ... le88.patch
It should be a good approximation of an ellipse, but if you need an ellipse, you should create it.
http://code.google.com/p/box2d/source/b ... le88.patch
It should be a good approximation of an ellipse, but if you need an ellipse, you should create it.
Original thread: https://box2d.org/forum/viewtopic.php?t=8361