Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Move Body To A Targeted Destination In Cocos2d WIth Appropriate Angle

In order to move body along with the sprite in cocos2d with box2d,you no need to worry about. Just take a look to this:- PhysicsSprite* sprite = (PhysicsSprite*)body->GetUserData(); CGPoint target; //set target for the body ta...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: