Techbirds | Knowledge Hub | Page 17
In order to make the b2body and attach it to the world,fixtures are added to the b2body(either one fixture or more are attached to a single b2body).For counting the no. of fixtures in a particular defined area,we can use QueryAABB. in .h file,write; int count=0; //call back function counting num of fixtures bool ReportFixture(b2Fixture* fixture)