MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/UnityHelp/comments/ufgkrx/ui_problem_begginer/
r/UnityHelp • u/_somebody420_ • Apr 30 '22
5 comments sorted by
1
You want that text object to constantly look at the camera. You can try attaching a script to that text that has the following:
void Update () { transform.LookAt(camera.main); }
1 u/_somebody420_ Apr 30 '22 Thanks!solved 3 u/3JUP1T3R Apr 30 '22 Just remove the canvas as a child of the camera, that should fix it 1 u/Bonejob Code Guru May 02 '22 This is a valid answer the reason the canvas is rotating with the camera is that it is a child. There was no indication of what the expected outcome was. 1 u/_somebody420_ May 08 '22 yea I just relised that when I made this question solved, but was too lazy to write about this.
Thanks!solved
3 u/3JUP1T3R Apr 30 '22 Just remove the canvas as a child of the camera, that should fix it 1 u/Bonejob Code Guru May 02 '22 This is a valid answer the reason the canvas is rotating with the camera is that it is a child. There was no indication of what the expected outcome was. 1 u/_somebody420_ May 08 '22 yea I just relised that when I made this question solved, but was too lazy to write about this.
3
Just remove the canvas as a child of the camera, that should fix it
1 u/Bonejob Code Guru May 02 '22 This is a valid answer the reason the canvas is rotating with the camera is that it is a child. There was no indication of what the expected outcome was. 1 u/_somebody420_ May 08 '22 yea I just relised that when I made this question solved, but was too lazy to write about this.
This is a valid answer the reason the canvas is rotating with the camera is that it is a child. There was no indication of what the expected outcome was.
1 u/_somebody420_ May 08 '22 yea I just relised that when I made this question solved, but was too lazy to write about this.
yea I just relised that when I made this question solved, but was too lazy to write about this.
1
u/SamElTerrible Apr 30 '22
You want that text object to constantly look at the camera. You can try attaching a script to that text that has the following:
void Update () { transform.LookAt(camera.main); }