You can look at some of the examples on the Wolfram website and modify something that is close. However, I would use Wolfram SystemModeler because you get the animation automatically (Using the 3D mechanics blocks). Look at the SystemModeler examples to get started and they have great video tutorials in the Wolfram U pages.
Regards
Neil