28.07.2017, 23:42
Quote:
|
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. |
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


