collusion - need the big guys (professionals)
#1

hello professionals i am a newbie and i made a feature which took me some time to accomplish its is a fighter helicopter
(it just shoots rockets)
so what i need is some way to make the rocket exploads upon touching a vehicle or the ground or any solid object
how can i do that
https://www.youtube.com/watch?v=OOyw...ature=*********
thanks for taking my request into consideration
Reply
#2

You can use OnObjectMoved to do something when the object has reached it's destination point. If you are streaming the object through the streamer plugin, substitute with the OnDynamicObjectMoved callback.

Physical explosions can be created with the CreateExplosion function, for further information refer to the links below:
wiki.sa-mp.com/wiki/OnObjectMoved
wiki.sa-mp.com/wiki/CreateExplosion
Reply
#3

That doesn't answer the original question: how to detect a collision? Should be possible, to an extent, with the ColAndreas plugin. https://github.com/Pottus/ColAndreas/releases
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)