You should be able to use simple trig.
Tan angle = opp/ adj.
opp = the difference in height between y1 and y2
adj = the difference in x posistion between y1 and y2
so i think angle = atan(opp/adj)
Been a while since i've done this stuff but just search for trig on google and you'll get it.
Tan angle = opp/ adj.
opp = the difference in height between y1 and y2
adj = the difference in x posistion between y1 and y2
so i think angle = atan(opp/adj)
Been a while since i've done this stuff but just search for trig on google and you'll get it.