Object CollX, CollY, CollZ position?
#1

Hello guys,

I am working on a new thing in SA:MP, but I got stuck in some kind of strange problem.

So, my problem is, I need to find two object's intersection point. Namely there are 2 objects which is getting moved, and I would like to find the intersection (or hit position) of the two objects, if they hit each other.

This is very smiliar to the OnPlayerWeaponShot callback which returns the bullet's impact.

I'll try to explain it with a picture (it's really hard to show a 3D element on a 2D picture):


So the red line shows the object's arrival point and the yellow is the impact of the two objects.
Reply


Messages In This Thread
Object CollX, CollY, CollZ position? - by matyi10012 - 06.09.2014, 18:53
Re: Object CollX, CollY, CollZ position? - by MicroD - 06.09.2014, 19:12
Re: Object CollX, CollY, CollZ position? - by Mauzen - 06.09.2014, 19:15
Re: Object CollX, CollY, CollZ position? - by IceCube! - 06.09.2014, 19:31
Re: Object CollX, CollY, CollZ position? - by matyi10012 - 06.09.2014, 20:08

Forum Jump:


Users browsing this thread: 1 Guest(s)