So I made a parent object and 4 child objects I then wrote a script making an array of transforms from the child objects. Then I query the length of said array and I get 5 instead of 4 can someone explain why?
Thanks in advance :).
So I made a parent object and 4 child objects I then wrote a script making an array of transforms from the child objects. Then I query the length of said array and I get 5 instead of 4 can someone explain why?
Thanks in advance :).
Nevermind I figured out that it takes the parents transform as well. A bit unintuitive considering the function name is get components in children.