weimingtom / angel-engine

Automatically exported from code.google.com/p/angel-engine
0 stars 0 forks source link

Triangle or polygon support #38

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think that box and circle is too restrictive a choice for shapes, even for 
prototyping needs.

Personally I need triangles that can be drawn with some color and having some 
border, reacting to physics.

In group discussion people also say they build rockets out of two triangles, 
etc.

It's hard to model many worlds and objects with only boxes and circles. 
Triangles are simple, yet very powerful and they would be a great addition to 
Angel.

Polygons are of course more general, so I wouldn't mind if you added them, but 
for me triangles would suffice.

My work-around for now is to build triangles out of many small circles, but 
this if far from ideal.

Original issue reported on code.google.com by rhy...@rhywek.com on 6 Feb 2011 at 12:51

GoogleCodeExporter commented 8 years ago
There's no reason you can't use triangles as your Box2D shapes and then assign 
a sprite that matches them. We may revisit this in the future, but it's not a 
high priority given that the workaround is so simple. 

Original comment by lieseg...@gmail.com on 15 Feb 2011 at 2:33