Hey Guys, not only im new to this forum, but im new to box2d (double the fun). K well, im following this tutorial http://www.raywenderlich.com/457/intro-to-box2d-with-cocos2d-tutorial-bouncing-balls and in this tutorial the tutor uses the edges of the screens...
as collision points. My question is how would i use a sprite instead of edge of the screen. Any sort of help will be appreciated. Thank You
Code:
groundBox.SetAsEdge(b2Vec2(0,0), b2Vec2(winSize.width/PTM_RATIO, 0));
as collision points. My question is how would i use a sprite instead of edge of the screen. Any sort of help will be appreciated. Thank You