03-29-2006, 10:24 PM
yeah... well coderJeff showed us both up with this one:
haha, that guys a ninja
edit upon testing, that didn't work! so i borrowed a bit from dr_d, that is, making radian transform a literal. here ya go:
Code:
angle = 180 - Atan2 ( v.x - u.x, v.y - u.y ) * 180 / PI
haha, that guys a ninja
edit upon testing, that didn't work! so i borrowed a bit from dr_d, that is, making radian transform a literal. here ya go:
Code:
angle = 180 - ATan2 ( v.x - u.x, v.y - u.y ) * 57.29577951308232