Is possible move object attached to object?
#1

Hi, I think is imposibol, but:

Is possible move object attached (AttachObjectToObject)

example:
pawn Код:
new object = CreateObject...
new object2 = CreateObject...
AttachObjectToObject(object2, object...

//...
new Float:pos[3];
GetObjectPos(object2, pos[0], pos[1], pos[2]);
MoveObject(object2, pos[0]+1, pos[1], pos[2]);
I think is imposibol because object2 is attached to objec. But there is something similar?
Thanks.
Reply
#2

try it.. and see?
Reply
#3

Quote:
Originally Posted by mastermax7777
Посмотреть сообщение
try it.. and see?
Not very helpful, are you?

No, it's not possible.
Reply
#4

It's not directly possible, but I guess you could make a relatively fast timer (25-50ms depending on factors) and get the position of the object you wish to attach it to, and with some math set the position of the other object next to it, appearing as if it's attached.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)