Search Unity

First Person Camera Issues

Discussion in 'Editor & General Support' started by Persona, Sep 8, 2011.

  1. Persona

    Persona

    Joined:
    Jul 25, 2010
    Posts:
    280
    I'm having trouble in setting up a first person character with various animations that makes the character move. When it does, the camera stays where it is instead of maintaining a FP viewpoint. This causes the camera to phase in and out of the physical model.

    Can someone tell me what I need to do to correct this?
     
  2. Persona

    Persona

    Joined:
    Jul 25, 2010
    Posts:
    280
    Any suggestions?
     
  3. Connor

    Connor

    Joined:
    Jul 11, 2011
    Posts:
    21
    Make sure that your camera is parented to the model or the model is parented to your camera.
    If you have they model parented to your camera then put all the movement scripts onto it.
    If you have the camera parented to the model then have the scripts on the model, but leave any scripts that are for the camera on the camera


    I think that might help.
     
  4. Persona

    Persona

    Joined:
    Jul 25, 2010
    Posts:
    280
    No, I tried that originally.
    The problem is that the model animations, aren't set in place and as a result the camera stays in one place while they move around, breaking the FP view.