Change the way the camera tracks the player

Results 1 to 3 of 3
  1. #1
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Change the way the camera tracks the player

    I've been working on a first person shooter mode for GunZ, I have just about everything figured out except for the camera. I was digging around in zcamera.cpp, trying to find where the camera is coded to track the character, but haven't been able to find the lines. Instead of the camera changing positions based on which way you look, I need it to remain in the middle of the screen, so the character position doesn't appear to change, that way the gun always remains on the right side of the screen (already changed camera position) , just like a FPS game. Does anyone have any tips on how to locate the function controlling camera tracking?


  2. #2
    Fuck Army. sahar042 is offline
    MemberRank
    Jul 2009 Join Date
    833Posts

    Re: Change the way the camera tracks the player

    Follow GetCamera().

  3. #3
    TBF Guru jetman82 is offline
    MemberRank
    Jan 2009 Join Date
    631Posts

    Re: Change the way the camera tracks the player

    No luck sofar, but I'll keep looking. I'm wondering if it doesn't deal with rcamera.cpp



Advertisement