You want the player to face a goal on his ground where he moves around.
But, the mouse cursor moves within the plane of the screen.
That are two unrelated positions, to get them 'in touch' you have to transform the position of the mouse from the screen to the surface of the ground.
The snippet of the manual shows how to do that.
http://www.conitec.net/beta/mouse_pos3d.htmThen you can let the player turn in direction of that position on the ground with
the following snippet from the manual:
http://www.conitec.net/beta/avec_to_angle.htm