--[[
	Returns the target CFrame for the camera while in Dead mode
]]

function CameraStateDead.getTargetCFrame(targetPart)
	local _, yaw, _ = targetPart.CFrame:toEulerAnglesYXZ()

	return CFrame.new(targetPart.CFrame.p) * CFrame.fromEulerAnglesYXZ(0, yaw, 0) * CFrame.new(0, 15, 10) * -- Offset
		CFrame.Angles(math.rad(-20), 0, 0) -- Rotation
end
