Normally this should only be a camera issue. It makes sense to seperate camera functions from the movement code, because whatever the camera does (3rd person, 1st person...) the movement shouldn't be affected