I used this code and it worked.

vec_set(camera.x,my.x);
vec_set(camera.y,my.y);
vec_set(camera.z,my.z+15);
vec_set(camera.pan,my.pan);

I had to raise the Z axis 15 units so that the camera is over the hood of the car.