Next: , Previous: load-path, Up: GCL Reference


7.2.64 look

(look [objectID] [cameraID])
Rotates the named camera to point toward the center of the bounding box of the named object (or the origin in hyperbolic or spherical space). In Euclidean space, moves the camera forward or backward until the object appears as large as possible while still being entirely visible. Equivalent to
          progn (
          	(look-toward [objectID] [cameraID] {center | origin})
          	[(look-encompass [objectID] [cameraID])]
          )
     

If objectID is not specified, it is assumed to be World. If cameraID is not specified, it is assumed to be targetcam.