It depends on a number of things. The interest rate on your car loan. Your expected return on investment, and your financial discipline.
If your car loan in at 10%, that would mean putting cash into it gives you a guaranteed 10% return. The only investment that may beat that is the stock market. But in a bear market it won't. On top of that you need to make sure your disciplined. If you don't put the money into the car, and only invest half and spend the other half you'd be at a big loss.
My opinion is to pay the car, house and especially any credit card debt you may have, then worry about investments, unless you've got one of those low interest or no interest deals.