Hi all
im working on an ipad app using cocos2d objective c and box2d. my question is in relation to box2d and collisions with curves. basically i have circles within a larger circle arena. the smaller circles collide with each other fine but i want to know how to make them collide with the edges of the larger arena circle correctly so that they dont leave the arena and bounce back in. any ideas on how to approach this problem would be great
cheers
Hi all im working on an ipad app using cocos2d objective c and box2d.
Share
ok i got it working but im not sure if its the correct way to do it
this creates a circle out of 50 sides and appears to be doing what i want. if anyone has a better way please let me know
ty