free-language / box2d

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

Filtering doesn't work on body/fixture creation time. #184

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello, and thanks for your help in advance!
Box2D likes to "make room" for new objects that get created by pushing things 
around until there is room such that fixtures don't overlap with each other.  
This seems perfectly reasonable to me, except if you don't want that to happen. 
 Enter collision filtering.  If two fixtures are told not to collide with each 
other, then they should not make room for one another during creation time.  
Rather, they should completely ignore each other and pretend the other one 
doesn't exist.

I first posted a question about this on the General Discussion forum 
(http://www.box2d.org/forum/viewtopic.php?f=3&t=6576) and Erin Catto gave me 
the go-ahead to submit a bug report :-).  I also have attached a sample program 
which will demonstrate how two objects get moved out of the way during the 
simulation when they are created "on top" of each other.

Original issue reported on code.google.com by baer...@gmail.com on 24 Mar 2011 at 7:46

Attachments:

GoogleCodeExporter commented 9 years ago
I have made a mistake and realized that my example code was incorrect.  Please 
remove this bug as invalid.

Original comment by baer...@gmail.com on 30 Mar 2011 at 8:00

GoogleCodeExporter commented 9 years ago
Marked invalid per user's request.

Original comment by erinca...@gmail.com on 25 Jun 2011 at 11:49