Set camera following an object

Hello,
im new in optix and im trying to set my camera position so i can follow a moving object. My object is a triangle mesh (car). So i want to set the camera in the position that a car following my object from behind would be.

followObject is a conditional expression, and access is a counter

if (followObject)
		{

			InitialCameraData cam;
			cam = InitialCameraData(make_float3(-10.0f, 30.0f, -10.0f), // eye
				make_float3(path[access].pos.x, path[access].pos.y, path[access].pos.z), // lookat
				make_float3(0.0f, 1.0f, 0.0f), // up
				v_fov);                          // vfov in °}
			GLUTDisplay::setCamera(cam);

		}

thank you

Also v_fov is

static const float v_fov = 2.0f//vertical Field of View