Worked out how the physics works in this thing.