[solved] how to check if my player is colliding with other box2d objects?

Hello, maybe someone could guide me to any tutorial or explain himself how do i check if my player is colliding with another box2d object. Thank you.

Basically you need to assign your own contact listener and handle contacts in its BeginContact(b2Contact* contact) function. You can setup a list of contacts and then handle specifics (such as player contact) in the Player’s or a CCLayer’s update() or you could handle it for the player directly here.

This should get you started in the right direction: http://www.raywenderlich.com/606/how-to-use-box2d-for-just-collision-detection-with-cocos2d-iphone

-Markus

Thank you, helped me a lot.