Shape-induced obstacle attraction and repulsion during dynamic locomotion. (June 2021)