Folks, I\'m trying to implement a certain behavior to a collision where a ball hits a wall at an angle. I want the ball to maintain full velocity, but I would like for the angle of reflection to be s
I have a game entity class as follows : @interface CPlanet : NSObject { b2Body *planetBody; } -(void)init;
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
I have bullets in box2d/cocos2d-for-iphone. They are flying fine...but I want to destroy these bullets after they traveld a certain distance. for example after a bullet \"flew\" 480px it should be rem
I\'m new to BOX2d and I need to move the body and the sp开发者_如何学JAVArite from the center to the point where there was contact with a low rate, I tried to use a projectile-> SetTransform (b2Vec
I am developing an iphone game using cocos2d and box2d. I use cococ2d to animate a sprite (using series of png).
I have image named \"platf开发者_C百科orm.png\" that represents one brick for platform of a IPhone game. I have a cartoon character that will jump on this platform.
How to implement an \'menu\' that seems like stuck to it\'s position? Here with stuck I meant to say either scene is moving or still it remain on it\'s on position. Which gives feel like it\'s on it\'
In cocos2d environment and box2D when an spherical object falls 开发者_如何学编程on a blunt slant obstacle, it moves really slowly, that\'s nauseating, if you have coded to not to have any interaction
I am tryin开发者_如何学运维g to implement wave effect when any thing hits the hanging object, how can I achieve the both,: