Rotating Camera

Hello, so I’m trying to make my players head appear in a viewport. It works, but it faces the wrong way.

How it appears:

image

How can I make it so I can see my face? Basically rotate the camera 180 degrees.

Script:

	newCharacter.Humanoid.DisplayDistanceType = Enum.HumanoidDisplayDistanceType.None
	dCam.CFrame = newCharacter.Head.CFrame + Vector3.new(0,0,2)

You’d use CFrame.Angles, make sure the angle is in radians

dCam.CFrame = newCharacter.Head.CFrame * CFrame.new(0, 0, 2) * CFrame.Angles(0, math.rad(180), 0)

If it rotates in a weird angle, just put math.rad(180) as the 1st or 3rd argument and make sure the others are 0

That’s what I tried originally, but the character just goes off screen completely.

Maybe try to rotate the character by 180 degrees instead of the camera

Tried that, it just faces the wrong way still.

	dCam.CFrame = newCharacter.Head.CFrame * CFrame.new(0, 0, 2)
	newCharacter.Head.CFrame = newCharacter.Head.CFrame * CFrame.Angles(0,math.rad(180),0)
dCam.CFrame = newCharacter.Head.CFrame * CFrame.Angles(0, math.rad(180), 0) * CFrame.new(0, 0, 2)