this most basic camera_lookat cutscene of a ship moving away from a station puts the camera slightly to the left of the front of the ship and points it at the station.
during the play, the camera position is kept relative to the ship, while the station is kept in the middle of the screen - as expected of a look at camera.
note that the distance parameter in this setup is based on the ship - allowing the camera to be position just outside the ship's bounding box.
Code: Select all
<camera_lookat
position_reference="target_object"
lookat_reference="look_at_object"
orient_to="object"
yaw="315" pitch="15" distance="100%" />
the cutscene setup below places the camera a long way from the ship to the point that the ship is not apparent (i.e. sufficiently visible, because its so small) in the cutscene.
Code: Select all
<camera_lookat
position_reference="target_object"
lookat_reference="look_at_object"
orient_to="object"
>
<begin yaw="315" pitch="15" distance="100%" />
<end time="10000" yaw="405" pitch="-15" distance="100%" />
</camera_lookat>