I have been looking for weeks for an OBJ-C based tutorial on how to call a method when a specific b2body collides with something else (not everything).
Im using cocos2d (iOS) and box2d to create a game. I have come to the point where I need to change the contact filter mid simulation and wondering how to go about this.
I don\'t know if there is such a parameter in box2D or not but when I duplicate all the numbers in my scene simulations produce different results, I was just simulating a pendulum (an static box joint
I have implemented horizontal scroll, but vertical scroll making trouble, and the trouble is difficult to explain. So I can scroll scene vertically, and horizontally, if that is been done from the sce
Can we be known of wher开发者_JAVA技巧e we have tapped(touched once) on a box2d world. As, location = [self convertCoordToLayer:location];
Hey, i\'m using a mousejoint for my开发者_如何学运维 b2world to move objects around. I have two objects. a Hero and an Enemy each with their own b2bodies.
How i can debugdraw with a cocos2d/macos code ? i cant use GLESDebu开发者_开发问答gDraw, any clue?Im not sure what you need, but cocos2d got some draw methods. You can maybe use this code
I learn AndEngine and trying to make a simple game. I use physics engine box2d and need to make 2 objects in physicsworld that will be able to pass through him self and won\'t be able to penetrate res
I am writing my own Ray Cast collision detector and every now and then, like one i开发者_如何转开发n a million times (which ends up being quite frequent). I get a ray that just manages to slip through
I am tryin开发者_如何学运维g to implement wave effect when any thing hits the hanging object, how can I achieve the both,: