I am stuck on it:how can i count or find the no.of bodies present in any area in as3?would be thankful if any guys help me out.....
Tell me more
×
Game Development Stack Exchange is a question and answer site for
professional and independent game developers. It's 100% free, no registration required.
|
|
Create a fixture which has the exact size as the desired area, set the fixture's sensor property to true and check the number of collisions which include the sensor fixture. You can find more about sensor fixtures in the official box2d documentation |
|||
|
|
