Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | VLAHIN |
Hello.
I have objects randomly generated, and I need the camera to automatically determine whether the object fits on the screen and automatically move the camera away or approach. But I can not find a suitable node or tell me an approximate algorithm. Objects cannot be guessed in advance because the size is also random.
I have a procedure that puts the camera at predefined coordinates, but it’s impossible to predict everything correctly.