How can I set child transform

Hi! transform.position only sets the parents position. How can I set it for all the children?

If you set the parent, all children objects should translate with it. Do you have any scripts on children that keep them where they are?

You could assign all children to an array of Transforms and then iterate through them, setting their transforms. Something like:

Transform[] children;

void Start() {
    //Keep in mind this will also include this parent object as element 1.
    children = transform.GetComponentsInChildren<Transform>();

    foreach(Transform t in children)
        t.position = new Vector3(0, 0, 0);


That should get you started. Place the script on the parent, and it should do the trick.