Here is a sentence:
Ich will dich glücklich machen.
My question is what sentence members are "dich" and "glücklich" in the given context, i.e. what roles do they play in the sentence? Are they a direct object and predicate adjective respectively?
Here is a sentence:
Ich will dich glücklich machen.
My question is what sentence members are "dich" and "glücklich" in the given context, i.e. what roles do they play in the sentence? Are they a direct object and predicate adjective respectively?
German has no direct or indirect objects. Thinking in these categories maybe can help in 90% or 95% of all German sentences, but will lead to wrong results in the rest of all sentences. So when you stick on that concept, you will not learn 100% correct German. Take any textbook about German grammar, written in German language for German native speakers and search for "direktes Objekt" or "indirektes Objekt": You will not find these terms in these books. So, better learn the correct German grammar.
German has these types of objects:
Wir gedenken der Toten.
Heinrich wurde des Raubes bezichtigt.
Der Schüler antwortet dem Lehrer.
Der Arzt hilft dem Patienten.
Der Jäger sieht den Hasen.
Martin trinkt das Bier.
Georg kämpft mit dem Tod.
Lisa spricht zu der Frau.
Georg kämpft um sein Leben.
Lisa spricht über die Frau.
Also note, that there is a difference about what a predicate is in English and in German:
In English grammar, a predicate is everything except the subject. So all verbs, all objects and all other parts of speech belong to the predicate.
But in German grammar, only the verbs and very close attachments of the verbs are part of the predicate. Objects do explicitly not belong to the predicate!
Now about your sentence
The finite verb will is a modal verb, dich und glücklich fill the valences of the verb "jemanden etwas machen".
In German grammar, we see "will ... machen" as the predicate (Prädikat) of the sentence, dich as the accusative object and glücklich as an object predicative (Objektprädikativ, because it is the object dich who is to be made glücklich).