HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

AngleBetweenPointsZ

11-24-2007, 12:07 PM#1
Malf
I'm sorry, I can't brain I have the dumb, and so I don't know how to calculate the Z angle between two points.

I just want a function that would get the z angle between two points.

Something like set angle = ZAngle(x1,y1,x2,y2,DistanceBetweenPointsXY(x1,y1,x2,y2))
Thanks in advance

EDIT: Nevermind, grim helped me out with his super neat & simple function. Delete thread please :)