transform.eulerAngles.y = -player.transform.eulerAngles.y;
moveDirection = Vector3 (0, 0, 40.0f);
moveDirection = transform.TransformDirection (moveDirection);
moveDirection *= runspeed;
characterController.SimpleMove (moveDirection * Time.deltaTime);
Im getting 2 errors in doing so .
Error 1: Cannot implicitly convert type float' to
UnityEngine.Vector3’.
Error 2: Expression denotes a type', where a
variable’, value' or
method group’ was expected