Get entity to move with the fps camera

You can do a couple of things:

  • Make the character and weapons child entities of the camera (you will have to take into consideration that the player is only going to see hands and the weapon and not the full body).
  • Update the character/weapons position and orientation to match the camera in update/post update.
  • Have the camera as the child of the character and change the controls to move and rotate the character.

I personally would have the controls directly move the character and rotate the character’s ‘head’ and then update the camera’s positions and rotation separate in a script somewhere.