title: cocos2d for iphone
body: <p>I have a rectangular shape like a bar,  i want it to be hanged and swinging in both direction continuously (a bomb is thrown in may game and this is opening and closing the path) 
  how can i implement this in cocos2d space manager also how can i make a similar bar rotating around its center (a center as a pivot point)</p>