hecht-software / box2dweb

Automatically exported from code.google.com/p/box2dweb
308 stars 94 forks source link

b2Body.GetFixtureList does not return a list #37

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Since a body can have multiple fixtures attached to it, it would be nice if 
GetFixtureList (and all other Get...List functions) would return an actual 
array of fixtures, rather than a single fixture. Particularly for bodies with a 
complex shape that necessitates using multiple fixtures, getting a list of all 
of these is currently impossible

(note that the C++ version of box2d implicitly returns a list by returning a 
pointer to an array. I don't know what the actionscript implementation does, 
but it *should* return an array, not a single fixture =)

Original issue reported on code.google.com by niho...@gmail.com on 20 Dec 2012 at 10:34