I have a CCPhysicsJoint between two objects that doesn't hold. i'll add the code for you to see, and tried many things. basically i have a block on the ground that shouldn't move and a stick on its top right corner that should rotate but stay attached to that block. would appreciate your insights!
CCPhysicsBody *stickPhysicsBody = [CCPhysicsBody bodyWithRect:CGRectMake(0, 0, _stick.boundingBox.size.width, _stick.boundingBox.size.height)
stickPhysicsBody.mass = 1000;
_stick.physicsBody = stickPhysicsBody;
_stickJoint = [CCPhysicsJoint connectedPivotJointWithBodyA:_heroBlock.physicsBody bodyB:_stick.physicsBody anchorA:ccp(1,1)];