Camera.look_at

Camera.look_at(target, up_vector)[source]

Set the camera to look at a specific target point.

Parameters:
targetPoint

The point the camera should look at.

up_vectorVector

The up vector of the camera.

Raises:
ValueError

If the up vector and the camera-to-target vector are not orthogonal.