CA_RayCastLineAngle - 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: CA_RayCastLineAngle (
/showthread.php?tid=641557)
CA_RayCastLineAngle -
StrikerZ - 17.09.2017
So, using CA_RayCastLineAngle gets the co-ords of the point where the collision is, so how do I get the correct path?
Re: CA_RayCastLineAngle -
oMa37 - 17.09.2017
https://github.com/Pottus/ColAndreas...ycastlineangle
?
Re: CA_RayCastLineAngle -
StrikerZ - 17.09.2017
I mean how do I avoid it?
For example
https://*********/MMG-_php940
How is he getting the new positions to make the NPC to move to after he reaches the collision point?
Re: CA_RayCastLineAngle -
Pottus - 17.09.2017
I would also suggest looking at CA_RayCastReflectionVector() for NPC's.
Re: CA_RayCastLineAngle -
StrikerZ - 17.09.2017
Quote:
Originally Posted by Pottus
I would also suggest looking at CA_RayCastReflectionVector() for NPC's.
|
Alright, it worked.
And before you get offline, I'd too like to know on how to avoid the NPC to fly, getting correct Z co-ords