Combine the physics step and contact generation.