Search Unity

Question How to have first person look at IK without seeing the players head

Discussion in 'Animation' started by angeldevelopment, Jan 18, 2024.

  1. angeldevelopment


    Sep 28, 2022
    I have Look at IK setup for my player, so that when the camera is tilted down, the player looks down and bends their spine a little bit.

    The problem is that when this occurs, the head moves into the cameras view.

    The camera has a child called look direction, which is placed in front of it, this is what the lookAt IK targets. I cannot move the camera based on the head position, because this will interfere with the lookatIk and cause a cycle of them both being changed.

    I dont want to cull the head, because then the camera shows the inside of the body of the player. I want a way to move the camera without effecting the IK.