look_at
Aim cameras and lights at a target by rotating their -Z axis to face specified coordinates or an object's center.
Instructions
Rotate an object so its -Z axis points at a target.
Cameras and lights look down -Z, so this aims them. Give either target
coordinates or target_object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Object to aim -- usually a camera or a spot light | |
| target | No | [x, y, z] in Blender units | |
| target_object | No | Aim at this object's bounding-box centre |