Follow-up Comment #7, task #6124 (project wormux):

I have thought about it too but it needs some checks.

First, box2d supports only polygon with 8 vertices and only convex polygon.
I guess it's interesting for projectiles, but I'm not sure we need it for
characters. 

Characters are composed of several members. Each member can be seen as a
rectangle and I think it will be enough for a character. Anyway, for a
character, we must support having several "shapes".

In the near future, we must remove PhysicalObj::SetSize() and instead have a
PhysicalObj::LoadShapes(), update GetSize(), GetWidth() and so on to support
several shapes. (But before that, maybe we should merge Physics and
PhysicalObj)

    _______________________________________________________

Reply to this item at:

  <http://gna.org/task/?6124>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to