Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Making the Camera Point at Objects

...

Overview

A Camera can be created together with a CameraTarget entity which the Camera will then always point at.

Image RemovedImage Added

CameraTarget entities can only be created when adding a new Camera.

...

The second entity that got created is the CameraTarget. It can be animated in Track View and the camera will always point at its position. In turn, the Camera's rotation can't be modified on its own anymore.

Flowgraph-based Solution

Image Modified

If you want a camera to point at the player, an AI entity or something similar, use the attached flowgraph.: Tracking Camera.xml
Example flowgraph.