about javascrpit facing direction

hello guys,im pretty new to unity,and i am making my own 3rd person controller scrpt,its working and it can move around,but the only problem is i dont know how to make it face on its direction,how can i do that?i want my model face on its corresponding direction,thx in advance,i hope some1 can help me,

use transform.transformdirection() for movement…
it will move character in its forward direction,and keep rotating its face according to input provided by player before proving the movement input to the character or with the character…

Thanks
Niki.j