Why node setParent will remain the position default?

In some case,i will set the parent position firstly,then create the child node and setParent.But we have the default processing that remain the child position.I want the child node move with parent node.Now,i need to set the child node pisition Vector3(0, 0, 0).Can we make a var to control if the child node remain position?