Two main things that need tweaking are:
-
It takes the vector to look at the object from the forward vector, that’s why it goes around the back of objects sometimes.
-
It computes the view distance using the object’s bounds. But as the object gets bigger, the computation is a bit off, so that needs some attention…