SA-MP Forums Archive
Vehicle Collision Detection - 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: Vehicle Collision Detection (/showthread.php?tid=640870)



Vehicle Collision Detection - Aliassassin123456 - 08.09.2017

Hi, I'm trying to write a Check Line of Sight function here and I need to know how to detect vehicle collision.
I know I can detect collision of the map using ColAndreas plugin but it doesn't detect vehicle collision.
Is there any way to do it?


Re: Vehicle Collision Detection - SetPlayerNameTag - 08.09.2017


try this, credits goes to my friend, souma


Re: Vehicle Collision Detection - Aliassassin123456 - 08.09.2017

Sorry, it's hard to read.
Can you write it here? (Draw it using paint or something)


Re: Vehicle Collision Detection - Aliassassin123456 - 10.09.2017

Bump.
I believe there are professional math people here.
Come on, anyone?


Re: Vehicle Collision Detection - AbyssMorgan - 10.09.2017

In the process of making.

Detection: Cube3D
Position return: OnSphere