AttachObjectToObject
#1

How the hell can i attach object to another object that fits like i want?

i got like this now.. "ship" is the main object and i want to attach shipp1 and shipp2 to "ship"..

i did this: "ship"(pos/rot) - "shipp1"/"shipp2"(pos/rot)

but when in game the object doesn't fit right.. -.-

pawn Код:
ship = CreateObject(10794, 2960.53, -2041.31, 7.00,   0.00, 0.00, 90.00);
shipp1 = CreateObject(10793, 2960.42, -2116.40, 35.57,   0.00, 0.00, 90.00);
shipp2 = CreateObject(10795, 2960.49, -2043.60, 17.14,   0.00, 0.00, 90.00);
AttachObjectToObject(shipp1,ship,-0.11,-75.09,28.557,0,0,0,1);
AttachObjectToObject(shipp2,ship,-0.04,-2.29,10.14,0,0,0,1);

anyone got idea how to calculate pos and rot right?
Reply


Messages In This Thread
AttachObjectToObject - by nejc001 - 28.01.2012, 19:32
Re: AttachObjectToObject - by Da' J' - 28.01.2012, 21:31
Re: AttachObjectToObject - by nejc001 - 29.01.2012, 07:44
Re: AttachObjectToObject - by nejc001 - 03.02.2012, 05:21
Re: AttachObjectToObject - by Babul - 03.02.2012, 05:41
Re: AttachObjectToObject - by nejc001 - 03.02.2012, 06:12
Re: AttachObjectToObject - by thimo - 03.02.2012, 06:16
Re: AttachObjectToObject - by ғαιιοцт - 03.02.2012, 06:16
Re: AttachObjectToObject - by nejc001 - 03.02.2012, 06:17
Re: AttachObjectToObject - by thimo - 03.02.2012, 06:36

Forum Jump:


Users browsing this thread: 1 Guest(s)