SA-MP Forums Archive
Get XYZ infront of point - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Get XYZ infront of point (/showthread.php?tid=454943)



Get XYZ infront of point - Marricio - 31.07.2013

Hey guys, this time I have a problem with vehicle angles (X, Y, Z the ones you get as quat), I would like to check what is the Z position depending on the X and Y angle at any distance. It is similar to the GetXYInFrontOfPoint function, but I would like to know the Z position too!



Note that I am not looking for the Z angle only, as you can see at the image the vehicle has X and Y angle too in a 3D perspective (yes, fuck my drawing).