I have made 10 different static body placed along straight path. I want to detect Collision of a moving body with these different static body. How can i detect the collision of specific object(without using TileMap)?
This tutorial is very helpful for Collision detection:
http://www.raywenderlich.com/606/how-to-use-box2d-for-just-collision-detection-with-cocos2d-iphone