Added a pivot joint to magnet to simulate magnetism.