Search Unity

How to make a character's hands rotate with the camera

Discussion in 'Scripting' started by chubshobe, Feb 9, 2016.

  1. chubshobe

    chubshobe

    Joined:
    Jun 20, 2015
    Posts:
    52
    Hi so i have been having this issue for a long time and every time i try and avoid it but i keep running into. Any help is appreciated!
     
    Last edited: Feb 9, 2016
  2. clownhunter

    clownhunter

    Joined:
    May 26, 2013
    Posts:
    61
    Are you talking about the mesh for the player's hands staying on screen while you rotate a first person camera? Why not just make the mesh a child of the camera?
     
  3. chubshobe

    chubshobe

    Joined:
    Jun 20, 2015
    Posts:
    52
    I have the FPSController prefab that comes with unity and i have a character that's a child of the FPSController but when i look around the hands only move left and right not up and down and if i make the character a child of the camera the whole character rotates.
     
    Last edited: Feb 9, 2016