It could potentially affect your ability to qualify for a mortgage.
When determining qualification for a mortgage, lenders use, among other factors, your front-end and back-end debt-to-income (DTI) ratios. Your front-end DTI is for housing, and includes the monthly mortgage principal and interest payment, 1/12 of your annual property taxes and homeowner's insurance premiums, and monthly mortgage insurance premiums and homeowner's association dues, if any. Typically, your front-end DTI can not exceed 31% of your total monthly gross income.
The beck-end DTI includes your monthly housing payment and all other monthly debt obligations. Your back-end DTI typically can not exceed 41% of your monthly gross income, but can be as high as 45%.
The more you pay in monthly debt obligations, the less that will be available for your monthly housing payment. Thus, you might not be able to afford as much house as before you took out the car loan.