I looked up a tutorial on viewports and how to place objects inside of them aswell how to display them.
However I’m having trouble with the camera because I want it to be showing the side of the character
and not the front
I tried using CFrame.fromEulerAnglesYXZ with match.rad, since I thought that would help rotate the camera. But then I get the error “CFrame expected, got Vector3”.
I know this has to do with my lack of understanding, but I just want to know how to make the camera face the right side of the character. Explaining why I got this error would also be very useful.
I’m sure since you now have a “finished recipe” you can change it to your liking.
Edit: As far as I remember, where the “viewConfig(XYZ)” is, that is the rotation. So most likely, you would just have to have one of them at 90, and the rest on 0
Another edit: Nope, unsure what I did back then, it’s been years. The values was between 0 & 1
I was able to rotate the camera to 90 degress and have it focus on the player’s head. The only problem now is trying to zoom it out of the players head which shouldn’t take too long for me to figure out I hope.
Thank you for your assistance my friend, this definitely helped me out a lot!