An action-specific approach to spatial perception