Download

how do i get the angle to target?

as seen in the attached image…

i have my ship… in vector 1, and the target ship vector 2…

i can get the lenght of the vector 1 and 2… with get length…

but i need to find the angle (red ?)

the angle needed to face the target…

ex: the ship needs to turn 20degree left… to face the target…
or 30 degree right… to face the target…
etc…

i tried to normalize both vectors and use dot product and Acosd … but it seems to be outputting the wrong degree…
need help with this…

You look through the math level in the content examples.

Check the launcher.