- Home /
parent change its position by giving it child in inspector
So I created parent with script and gave it few sprites as children. But I misplaced position of parent of object and now rotation isn't working correctly. So I took all his childs,then moved it to right direction and then give its children back but parent object position goes back to another position(I'm not sure what but I thinkits average position of children). It didn't happened to me before and it would be nice if someone explained me what is happening. Or give me some way to rotate object around point. I work in 2D btw.
Comment
Your answer
Follow this Question
Related Questions
Unity 2d trails not showing 1 Answer
How to get object's X axis rotation EXACTLY as in inspector ? 2 Answers
turn fish3d follow mouse 0 Answers
Positions to rotations of a regular GO 2 Answers