I'm trying to have a gun turret follow an enemy(rotation wise), is there something like a 'lookAt' function in Pure that returns an angle, sortof like:
angle = lookat(myship, targetship)
rotatesprite3d(myship,angle,1)
or do we have to do it with math ?
If math it is, can you give me an example ?
I'm using the Sprite3D functions soo i'm just intrested in the x,y aspect of things.
Thanks in advance for the help.
btw: i love the Sprite3D function, definitly a step in the right direction, i'd love to see this expanded further

