make character move to 3d curser

Hi everyone!
Is there a way I can let my character move to the position where I left-click in 3d space and in the same time make the camera rotate around my character by holding the right mouse button down while moving the mouse?
I think I may get the camera to move around my character using the method explained in this thread for example:

but for making the character move to the 3d curser (which I think would be the way to get around it) I have not found anything yet and thought that you guys can lead me to a thread about this or even a tutorial.

Would be awesome if there is.

just move an object to the mouse_click.hitPosition.

also, David was a bit wrong about the RPG mouse look on Stack Exchange, so i will add a new answer to that question

Thank you Scalia, I give it a go.