hecht-software / box2dweb

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

Changing Collision Group Dynamically #28

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. 2 bodies with fixture group set to collide with each other (-1, and 1)
2. when bodies contact, change the one with the group 1 to -1
3. collision group is changed, but bodies still collide

What is the expected output? What do you see instead?
world should update filters and bodies should not collide

What version of the product are you using? On what operating system?
2.1a, Mac OSX

Please provide any additional information below.

Original issue reported on code.google.com by icd...@gmail.com on 21 Feb 2012 at 4:51

GoogleCodeExporter commented 8 years ago
Oops, my bad, was unaware of contact.FlagForFiltering();

Original comment by icd...@gmail.com on 21 Feb 2012 at 5:45

GoogleCodeExporter commented 8 years ago

Original comment by Uli.He...@googlemail.com on 24 Apr 2012 at 4:26