I want to make it like in Box2d world.
I have four bodies in my Box2D World. each Each are polygon shape., with some physics parameterparameters.
Now when the game start, I need one of the bodybodies from the World BodyA which should(BodyA) to not be collideallowed to BodyBcollide with another (BodyB). But it It should be allowed to collide with others too,.
So, I want it likeTo clarify, BodyA and BodyB does notcannot collide with each other, But theybut can collide with rest of the bodies in the Box2D world.
How could make like this kind of mechanism in Box2d ?
Please help me about this query. Thanks & Regards,