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?
Aze
1
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Difference between setParent and parent | 3 | 1349 | March 30, 2022 | |
| What can cause mesh.setParent position to be off | 3 | 307 | May 18, 2022 | |
| Mesh position/rotation after changing pivot and parent | 12 | 1820 | March 7, 2022 | |
| Behaviour parenting | 5 | 406 | November 8, 2023 | |
| Parenting object changes parent position | 5 | 1747 | January 22, 2019 |