3D Sidescroller: How to make a character turn in instant 180° intervals?

Currently, when turning you have to go through the full process of turning as so:


I would prefer to do a simple 180° turn:


How can I achieve this? I’m using the starter 3D Sidescroller level.

Very simple solution.