The Opposite of Transform.LookAt (Noob Question Alert!)

I’ve been trying to figure this out all day. What I need is to ascertain world coordinates for a position that is, say, about 30 meters away from my camera. Its the opposite effect of a camera follow script… what I want is when I move the camera, the object I am interested in moves itself so that it stays in the field of view. Any ideas??

var wantedDistance = 30.0;
transform.position = camera.main.transform.position + camera.main.transform.forward * wantedDistance;

–Eric

Wow. Thanks! You rock…