Skip to content

Look At Overview (3D)

Determines the rotational logic for a given PCam3D.

The different modes has different functionalities and purposes, so choosing the correct mode depends on what each PCam is meant to do.

Core Modes

image alt

Mimic

The simplest of the available options. Effectively copies the rotational value of the targeted Node3D.

image alt

Simple

Keeps a persistent forward direction towards a target.

image alt

Group

Allows for multiple targets to be looked at. The camera will look at the centre of the assigned targets' Vector3 coordinate.

Properties

look_at_mode

Type: LookAtEnum

Default: None

Value is based on LookAtMode enum.

Look At ModeValue
NONE0
MIMIC1
SIMPLE2
GROUP3

Note

The Setter for Look_at_mode has purposely not been added.
A separate PCam3D should be used instead.


Getter

int get_look_at_mode()

Example
gdscript
pcam.get_look_at_mode()