but that does move the character totally unrelated to the camera look position. I want the character to turn and move towards where the camera is looking and i cannot figure out how i can get a float value between 1 and -1 that i can feed the animator.
I can see what you did, but you are using a CharacterController. I am using root motion with turn animations regulated by float horizontal, -1 → 1. Do i make myself understood? I basically need to get either 1 or -1 (whichever is closest) until both the camera and player is facing the same direction.