Used to attach the camera to a non player entity.

interface CameraAttachOptions {
    entity: Entity;
    locator: EntityAttachPoint;
}

Properties

Properties

entity: Entity

Set a non player entity for the camera to target.

The location of the entity that you want to target (eg. head, feet, eyes).