Object collisions.
#1

Hi,

For ex:

i have two objects

Код:
new objectx;
new object2;

objectx = CreateDynamicObject( ... );
object2 = CreateDynamicObject( ... );
And i want to put object2 on the nearest z coordinate (simpler explanation on other object) of object objectx. I need to know what z coordinate i will need to set of any object model on another object model.
Reply
#2

Can you elaborate?
Reply
#3



That all black color means one object and A letters is another object in air. And how you see i need to put it on that example black object in picture.
Reply
#4

Map Andreas plugin and

pawn Код:
new Float:Pos[3];
GetDynamicObjectPos(object2, Pos[0], Pos[1], Pos[2]);

MapAndreas_FindZ_For2DCoord(Pos[0], Pos[1], Pos[2]);

SetDynamicObjectPos(object2, Pos[0], Pos[1], Pos[2]);
Reply
#5

Not working...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)