how can i move static box2d object.

Posted by user5198 on Game Development See other posts from Game Development or by user5198
Published on 2011-02-06T04:14:32Z Indexed on 2011/02/06 7:33 UTC
Read the original article Hit count: 293

Filed under:
|

how can i move static box2d sprites. i have tried this tutorial from . http://www.raywenderlich.com/475/how-to-create-a-simple-breakout-game-with-box2d-and-cocos2d-tutorial-part-12.

I managed to add another "paddle" object with box2d body, but i can seam to be able to make the code to move the second "paddle" body. Can anyone direct me how to do it?

Is there a way to move a "b2_staticBody" box 2d object? i have tried, but i can only move it when i use "b2_dynamicBody" if i used "b2_staticBody" i can move it at all.

© Game Development or respective owner

Related posts about box2d

Related posts about cocos2d-iphone