AttachObjectToObject messing up objects
#3

Quote:
Originally Posted by Arthur Kane
Посмотреть сообщение
What're you trying to do? Are you trying to attach all the NukeObject's to NukeObject 0?

What messes it up and how doesn't it work?

FYI, there's no reason to do if(i > 0) if your loop is set to start at 1.
Ye I know, I took it out from the CreateObject loop, so I had this condition.

Anyway, I'm calculating the offsets, but the attached object's location is not the same as it was when created (as should). I'm thinking it might be caused by a rotation issue other than regular XYZ.
That's an example of how it looks like after attaching with the code above: http://i.imgur.com/xVZl57o.png
And this is how it should look like: http://i.imgur.com/IqRaELj.png
Reply


Messages In This Thread
AttachObjectToObject messing up objects - by arad55 - 28.07.2017, 22:17
Re: AttachObjectToObject messing up objects - by Kane - 28.07.2017, 23:19
Re: AttachObjectToObject messing up objects - by arad55 - 28.07.2017, 23:42
Re: AttachObjectToObject messing up objects - by arad55 - 29.07.2017, 00:59
Re: AttachObjectToObject messing up objects - by Pottus - 29.07.2017, 02:10
Re: AttachObjectToObject messing up objects - by arad55 - 29.07.2017, 02:16
Re: AttachObjectToObject messing up objects - by Pottus - 29.07.2017, 02:22

Forum Jump:


Users browsing this thread: 1 Guest(s)