I am trying to setup a fixed position camera that follows an object as it moves left and right in a scene.
Using the lookat function works ok, however I only want the camera to rotate left and right as the object moves, but not follow the movement as the object comes near or moves further away from the camera, hope that makes sense.
So really only want the camera to follow the objects movement for one of its axis.
Thanks in advance!