views:

21

answers:

0

Hi,

i am using box2d to developed iphone game.But i have not a lot of experience.I move a body to a location using this code

body->SetTransform(b2Vec2(posx2,posy2), 0);

and the body does move.But i need it to move with animation.in objective c i use UIView Animation to do similar type of things. can anyone tell how it possible in cocos2d box2d??