Allow b2Body to Move on another b2Body - Box2d(Cocos2d)
I have a ball that needs to roll on top of a platform, but when it leaves the platform and collides with the background then it needs to be destroyed.


How do I make it so the ball can move around on top of the platform, but also can move off of the platform. Meaning the platform has no edges.
Allow b2Body to Move on another b2Body - Box2d(Cocos2d)
===

I have a ball that needs to roll on top of a platform, but when it leaves the platform and collides with the background then it needs to be destroyed.


How do I make it so the ball can move around on top of the platform, but also can move off of the platform. Meaning the platform has no edges.