Player model not turning with the camera, always faces forward.

Probably a stupid question but, as you can see in the picture my player model is not turning itself to align towards where the camera is pointed (I am running towards the wall in the picture). Basically when I turn the camera the player turns with it, that all works fine. But the model always stays facing forward.

Figured it out, you’re rotating the CameraFollow GameObject which is a child of Player, and the model is another child, so only CameraFollow is rotated.

transform.rotation = localRotation;
transform.parent.rotation = localRotation;

That will rotate the parent which will rotate the models along with it.

Of course, this is assuming the code you gave is working as intended.