Proactive and reactive mechanisms play a role in stepping on inverting surfaces during gait.