hi Box2d community ..
Im a new at Box2d and cocos2d and game development , i try to developing some game and stick in strange problem !!
Actually i'm facing problem with rotating body that not dynamic (static and kinematic) ,
i try to put a dynamic box in the top of screen and let it fail depending on the gravity , and i put in the end of screen a static box , every thing seems going well , the daynamic box fail and collide with static box and stop (because the static box blew him) BUT i need to rotate the static box aroud scrren center , i did this by using
Code:
body->SetTransform(newPosition,angle);
and the body seems rotated
BUT the problem that the dynamic box stick in his position (the position where it stop when it collide with the static box), after transform the static box the dynamic box stick and dose not continuo failing !!!I do not know what i must do , is my rotation not correct or how i can achieve this ???
any idea or help
