Ors Custom User Title Mar 2, 2015 #1 I'm messing around with Lua and need this for finding the angle (or aiming) between player's and object's height.
I'm messing around with Lua and need this for finding the angle (or aiming) between player's and object's height.
fickleheart ms reflec beat stan Mar 2, 2015 #2 No, but R_PointToAngle2(x1, y2, x2, y2) can be used to get the angle between two points.
Ors Custom User Title Mar 2, 2015 #3 RedEnchilada said: No, but R_PointToAngle2(x1, y2, x2, y2) can be used to get the angle between two points. Click to expand... I guess it works like (0, z1, distance, z2) too? Edit: It works! Thanks for suggesting that! Last edited: Mar 2, 2015
RedEnchilada said: No, but R_PointToAngle2(x1, y2, x2, y2) can be used to get the angle between two points. Click to expand... I guess it works like (0, z1, distance, z2) too? Edit: It works! Thanks for suggesting that!