I have a game entity class as follows : @interface CPlanet : NSObject { b2Body *planetBody; } -(void)init;
EDIT: I figured out what was wrong, and this is no longer a question. The solution was a stupid error, and I had accidentally set iterations to 0. Sorry!
i have problem with gravity. I make map of my game with add some elements like boxes, brick etc. using this开发者_如何学编程 code:
I am using vertex helper to get the edges of my sprites. I am using Cocos2d + Box2d on the iPhone. The problem I am getting is that the debug draw on the device I am testing on comes up but the vertic
How to disable the contact between two bodies in box2d (Andengine). I have used contact.setEnabled(false) but this was not working for me. I have given code below for reference.
I am working on a Box2d Edit开发者_运维技巧or for iOS, using cocos2d. I wrapped b2World into my own World class. I want to implement my own draw functionality. Since I will be drawing higher level cl
Sometimes, when dynamic body moving and collide static body, dynamic stuck, and stopping. http://imageshack.us/photo/my-images/14/screenfgz.png/ (top and bottom lines are sensors, center shape is bod
I\'m using BOX2D for the first time on iPhone. On the whole it\'s been pretty good, but I keep repeatedly getting an assert on a line in ContactManager whenever I create a scene featuring both static
Hey i\'m trying to integrate SFML and Box2D, and SFML has made setting centers for sprites, shapes, etc. very easy. Box2D, on the other hand, I\'m having trouble with as i can\'t figure out how to set
I have b2Body of which i set angle using setTransform. But I want b2Body to move in particular angle. My CC开发者_如何学JAVASprite is moving in that angle using ccMoveBy. But my b2Body is not moving w