Generating Whole-Body Avoidance Motion through Localized Proximity Sensing