Child transform same as parents transform
Hi, encountered a slight problem i would need help solving. Basicly what im trying to do is check the worldpos betwheen two childrens belonging to the same parent.
...................
so in this case child1.position.x and child2.position.x
....................
and im only interested in the world pos so local wont help.
...................
But when i try debug log it will always show that child1s x position is same as childs2 x position which also happens to be the parents position.
...................
I've checked the code multiple times and i cant find anything wrongly written so i begin to wonder if this is intended and theres a different way to reach a childs world position?
.................
Another thing that might be useful to know is that the childrens are gameobjects that ive parented via 3dsoftware so it wasent done in unity incase that changes anything.
Answer by HeresJohnny123 · Jun 02, 2018 at 03:54 PM
NEVERMIND...it was due to my dumb naming sense that things got messed up. everything working as intended now ^^