I\'ve seen this type of problem before, but didn\'t knew what is the solution. I\'ve added this triangle to a b2Body Object(the body variable below) and the collision detection isn\'t working for it.
I just encountered this problem where I have a box2d body collide with another box2d body and one of the bodies on collision is supposed to be destroyed. The sprite gets removed all right and the body
Let me explain it indepth, when ever if(CGRectContainsPoint([hole1 boundingBox], ball1.position)) condition goes true, i do lots of stuffs, like unscheduled, a selector, destroying a ball body calling
I have been trying to use a MouseJoint to move a piece wherever the user touches. But the piece, being affected by the joint, behaves strangely, never reaching the point. This is the code (x and y are
I\'m trying to figure out how to detect if one box2d shape is overlapping another.I can\'t use the normal collision detection because one of the objects is not active and not part of the physics sim y
I\'m starting out with an AndEngine app, and I want to use the Physics Box2D extension. I\'ve put andenginephysicsbox2dextension.jar in /lib and added it to the Build Path in Eclipse. I\'ve also put a
I’m having a problem utilizing b2Body->ApplyForce() in an IOS/cocos2D/Box2D game. I have a ball object, and I’mapplying force to simulate a golf club strike on it. The user sets the angle and power
im using box2d in iOS and the cocos2d-library. I\'m currently attempting to use contact filtering, but found that the category bit masking method simply isnt working for me. I\'ve understood the metho
I have three rectangular blocks: ground block, blue block, hero block. Ground is placed at the bottom of screen, blue block lay on ground block and hero block is falling down to blue block. I have lis
I\'m wondering what I should do for my player character. Currently he has the idle stance, with all the collision polygons created etc. But I want him to move his arm polygon when he is punching. How