rtridz / phys2d

Automatically exported from code.google.com/p/phys2d
0 stars 0 forks source link

Feature Request - Oval Shape in Phys2D #18

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I am creating a game in Java using Phys2D, and rather than using a circular
ball, I intend to use ellipses so I could "squeeze" the ball upon itself
and probably use joints to have pressure applied when squeezed.

I'm trying this out with line segments at the moment, but those aren't
working too well with colliding with other lines, most-likely to due how
line-segment collision at the edges works in Phy2D.  I'll probably use very
boxes instead for now.

It would be great if Phys2D either had line segment collision on the line
ends (not sure how this would be implemented) or an oval/oval-polygon shape
available.  I wouldn't mind a collision accuracy setting for these (even
though the math still isn't so hard with ovals) if it was faster to decide
the number of segments the object's made out of.

Thanks!,
Pritchard

Original issue reported on code.google.com by TheAdven...@gmail.com on 31 Jan 2008 at 6:45