Changing b2ContactFilter still collides with ground body

I've altered the b2ContactFilter, to allow picked up bodies not to collide with other picked up bodies, the problem is that they still collide with the ground body (the body with zero mass) is there anyway to turn that off to?
var filter:b2FilterData = new b2FilterData();
filter.maskBits = 0x0000; // Don't collide (if there's still something it has to collide with pick a different non-zero number)
filter.categoryBits = 0x0100; // choose a value that the body doesn't have in its maskBits
yourPickedUpBody.SetFilterData( filter );
vedder wrote:
var filter:b2FilterData = new b2FilterData();
filter.maskBits = 0x0000; // Don't collide (if there's still something it has to collide with pick a different non-zero number)
filter.categoryBits = 0x0100; // choose a value that the body doesn't have in its maskBits
yourPickedUpBody.SetFilterData( filter );


do shapes have default category bits set when they are created? 0x001?
You have to call b2World::Refilter function after you change the filter data.

Original thread: https://box2d.org/forum/viewtopic.php?t=3035