kirbyquerby / phys2d

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

Body collision control - define bodies that don't collide against each other (useful for a bunch of situations) #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It should be possible to specify bodies into groups which don't collide
with each other. This information should be stored in each body to prevent
constant lookup. So each body holds a list of bodies it shouldn't collide
with based on the groups it's in - maybe?

Original issue reported on code.google.com by kevgl...@gmail.com on 5 Aug 2006 at 4:50

GoogleCodeExporter commented 9 years ago
Add Body.addExcludedBody() etc to allow bodies to be excluded from collision 
with
each other. The relationship is bi-direcitonal implicitly.

Original comment by kevgl...@gmail.com on 12 Aug 2006 at 2:43