About Character Controller

Hi guys,

Character, moving with the mouse. But, I want to improve it. E.g,

Problem ;

How do we do this? So, one way?

I need help guys…