Simple Look At (3D)
Looks At the target with an optional offset.
Video Example
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.
Look At Offset
Type: Vector3
Default: null
Offsets the target's Vector3
position that the PCam3D
is looking at.
Note: During runtime, properties should be modified and read via their setters & getters respectively.
Setter
void
set_look_at_target_offset(Vector3
offset)
Example
gdscript
pcam.set_look_at_target_offset(Vector3(0.5, 2.5, 0))