I have a basic character controller works but it doesn't rotate the body mesh, like said on the title this is for a third-person shooter so you can see the player.
I want the character to rotate (relative to the camera) when it moves.
If you press left(A) the character rotates 90°(relative to the camera) then moves left (relative to the camera)
The camera moves freely around the player.
How I'm currently moving my player:
direction -= head_basis.z
direction += head_basis.z
direction -= head_basis.x
direction += head_basis.x