Pendulum

http://pastebin.com/hZgjDbBm

i used physics.body,joint,REVOLUTE, i think´s nice use this for physics methods