- Home /
Issue with rotating 3d text?
I need 3d text to face the camera. I use transform.LookAt to do this. The text is a child of an empty gameObject, which is what I have the script attached to. The problem is that when the empty is rotated its position changes as well as its rotation. I have no idea what is going on because I have done this before and it worked just fine. Thank you for your assistance!
Comment
When you rotate a parent and the child is not at 0,0,0 then the child will move to. Double check that your child object is at the 'local origin' (0,0,0 relative to the parent).
Your answer
![](https://koobas.hobune.stream/wayback/20220613083726im_/https://answers.unity.com/themes/thub/images/avi.jpg)