Simulate linear and angular motions, and motion upon collisions