for example if the angle is 90 I would like to object to move up.

Move forwards, or if you want I can walk you through some cosine and sine to make it much much more complex but more smooth. Also you can just move up by using y.

can you quickly explain the cosine and sine thing? I already know some basic triangulation.

This is done with sin cos