I knew exactly what car (including trim, color and options) I want to buy. In one case I knew VIN number of the car on the lot. But I still negotiated with other dealers within 100 miles from my zip code in order to drive the sale price down by letting them 'beat the competitors'.
I had money or financing arranged before closing the deal. Only considered dealer financing if there were incentives to use them. Did not trade in any cars as part of the same transaction.
I've considered buying a 2-3 y.o used car, but dealers were not willing to negotiate. Main reason is that every used car is a unique snowflake, so it is harder to pitch comparable cars against each other. On the other hand, one can get exactly same new car from any dealer, and they understand this.
I've tried using Truecar and Edmunds to get a good deal on a car. No much success there. It's just a dumb lead generators for dealers. I would get great initial responses from participating dealers, but then they will not have the car that they offered to sell and would push something they have in stock.
Bottom line, when you send a copy of the competitor's email with the "out of the door price" for a specific car and a promised to close the deal tonight, dealers tends to become really accommodating.