@PraetorBlue@Kurt-Dekker
I can’t put my camera as a child of my player. (Well, technically I can but nothing will happen.)
I suspect this is because I am using model assets that I brought onto Unity. I hate how Unity goes berserk every DAMN time I use an asset. There will almost definitely something go wrong if I use an asset.
Whenever I put the camera as a child of the player, it follows it around. BUT, and this is a big but, IT NEVER WORKS WITH ASSETS!
If there was some script on MyProblematicAsset, move it to MyShinyNewRootObject and reconnect stuff if necessary, such as animator and/or other transforms.
Then use CameraOffsetter to align the camera with where you want.
This sorta thing can solve so many rotational and offset issues everywhere in gamedev and Unity.
If you want a script, it is super simple. You’d just have a reference to a target transform (the player character, probably where they head is supposed to be), and in LateUpdate you just set the transform.position and transform.rotation the same as the target transform.
But you should still be able to do it by childing.
LOL Joe not at all, I battled with it a while and found this script that really worked well for me. But I do suppose that takes away a learning experience for the OP. Depends on him.
I think you need to spend some time working out what is going on. Parenting the camera to the player should work ok. If it’s not, try and understand why.