ok so im probobly an idiot and its staring me in the face but why does this work
CMVcam.transform.LookAt(Sceen);
but this doesnt work
CMVcam.transform.Follow(Sceen);
btw iv called CMvcam1 as a gameobject and Sceen as a transform.
im in 2d space so LookAt just turns the camera and breaks the view so i need follow.
LookAt can be made to work in any space you like. It has a second optional argument that defaults to Vector3.up. In all cases it drives the +Z towards the target.
As always, I recommend Cinemachine for all camera stuff.
well i have 2 objects that i need the camera to follow. when the player moves into a trigger box i need the camera to like. completly follow a diffrent object.