how to make a charecter controller

how do i make a charecter ccontroller for a space game? mean mousefollow and movement…

thnx m8 peter g