Search Unity

Feedback Add FPS camera sample

Discussion in 'NetCode for ECS' started by Jawsarn, Jan 9, 2023.

  1. Jawsarn

    Jawsarn

    Joined:
    Jan 12, 2017
    Posts:
    245
    As title. This is a common use case which I think should be covered in the sample as it is a hassle to get right.
     
  2. Shinyclef

    Shinyclef

    Joined:
    Nov 20, 2013
    Posts:
    505
    I recommend you check out the OnlineFPS sample from the Rival Character Controller.
     
    NikiWalker likes this.
  3. Jawsarn

    Jawsarn

    Joined:
    Jan 12, 2017
    Posts:
    245
    Thank you! I didn't know they had it here. Issue with this implementation is that any missing commands will cause player to rollback on their aim, which is not really a nice experience - but one I've defaulted to for now as well.
     
    Shinyclef likes this.