Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Move head of Player

Discussion in 'Scripting' started by MysteriX, May 19, 2014.

  1. MysteriX

    MysteriX

    Joined:
    Apr 8, 2014
    Posts:
    54
    Hi,
    today I wonder how you would move and rotate just the head and a bit of the body when the FPS Player looks down.
    I do not want to rotate the complete prefab. I think everybody know what I mean?

    We want to have a realistic headmove if i move the mouse.
     
  2. DiogoLeao

    DiogoLeao

    Joined:
    Oct 3, 2013
    Posts:
    28
  3. MysteriX

    MysteriX

    Joined:
    Apr 8, 2014
    Posts:
    54
    Yea thanks.

    But i mean the head. Not just the camera. If another player looks at me and I look down, the other player should see my head looking down.
     
  4. Philip-Rowlands

    Philip-Rowlands

    Joined:
    May 13, 2013
    Posts:
    353
    I haven't used this myself, but perhaps the HeadLookController from the Unity Wiki is what you're looking for.
     
  5. MysteriX

    MysteriX

    Joined:
    Apr 8, 2014
    Posts:
    54
    I found it in the Assets store... the example is great! thanks