use those functions, how to set two body collision or no collision.
int the 3.0 rc version, the object of cpp-tests.
in the class of PhysicsContactTest:
box1->getPhysicsBody()->setCategoryBitmask(0x01); // 0001
box1->getPhysicsBody()->setContactTestBitmask(0x04); // 0100
box->getPhysicsBody()->setCollisionBitmask(0x03); // 0011
box2->getPhysicsBody()->setCategoryBitmask(0x02); // 0010
box2->getPhysicsBody()->setContactTestBitmask(0x08); // 1000
box2->getPhysicsBody()->setCollisionBitmask(0x01); // 0001
box3->getPhysicsBody()->setCategoryBitmask(0x04); // 0100
box3->getPhysicsBody()->setContactTestBitmask(0x01); // 0001
box3->getPhysicsBody()->setCollisionBitmask(0x06); // 0110
the box1 and box2 will be collision
but the box1 box3 will not be
the box2 box3 no collision too.
why this?