Code to simulate wooden toy trains inside of Maya