Skip to content

Mimic Look At (3D) ​

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

Properties ​

Look At Target ​

Type: Node3D

Default: null

Determines which Node3D should be looked at. The PCam3D will update its rotational value as the target changes its position.

Note: During runtime, properties should be modified and read via their setters & getters respectively.


Setter ​

void set_look_at_target(Node3D target)

Example
gdscript
pcam.set_look_at_target(node_name)

Getter ​

Node3D get_look_at_target()

Example
gdscript
pcam.get_look_at_target()