- Home /
Copy Transform
Hi,
I want to set a GameObject to the exact same position and rotation of another GameObject, without scripting inside the editor. Can I copy the Component in Inspector or is there any snappingtool?
Answer by zyzyx · Aug 12, 2012 at 05:27 PM
Just make the object you want to position a child of the object you want to "copy" the transform from and reset its position/rotation to 0. Then you can "unparent" the object again and it should stay at the same position and rotation as its former parent.
Your answer
![](https://koobas.hobune.stream/wayback/20220613075545im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How do you get a component of a GameObject if you know only its position? 2 Answers
got problem with x's position! 2 Answers
Get a gameobject position relative to another? 1 Answer
How to predict position of object before transform.translate will apply? 1 Answer
How to change a moving box's direction once it hits a point? 0 Answers