Stop Character Slide Sharp Corner

Can you do something like this:


Make Vector represents the target direction, so you'll have to set that for each sharp turn.