Smooth character rotation in Side Scroll

In a side scroll game how can have player and NPCs rotate smoothly in curved corners and curved paths? Something like this video.