Calculating the angle between two vectors
<p>If tried searching the internet but I couldn't find the anwser.</p>

<p>I'm trying to calculate the angle between 2 vectors, seen from the first vector.</p>

<p>So if vector 1 is at 0,0 and vector 2 is at 1,1 the heading would be 45.</p>

<p>at 1,0 it would be 90.</p>

<p>at -1,0 it would be 270.</p>

<p>Is there a simple solution to create this?</p>