Follow Overview
Determines the positional logic for a given PCam
.
The different modes have different functionalities and purposes, so choosing the correct one depends on what each PCam
is meant to do.
Core Modes
Third Person
Applies a SpringArm3D
node to its target and allows for rotating around it.
Properties
follow_mode
Type: int
Default: 0
Defines the current Follow Mode
of the PCam
based on FOLLOW_MODE
enum.
Follow Mode | Value |
---|---|
NONE | 0 |
GLUED | 1 |
SIMPLE | 2 |
GROUP | 3 |
PATH | 4 |
FRAMED | 5 |
THIRD PERSON | 6 |
Only Third Person Follow is exclusive to 3D scenes.
Important
This property should not be changed during runtime, as such the setter for this has purposely been excluded.
To use another follow mode
at runtime, switch to a separate PCam
with the specific type applied.
follow_axis_lock
Type: int
Default: 0
Prevents camera movement in one or multiple world axes.
Locking a PCam
does not change its position nor take its Follow Target
's transform values into account.
Note
This only applies once the PCam
has a valid Follow Target
.
2D
FollowLockAxis | Value |
---|---|
NONE | 0 |
X | 1 |
Y | 2 |
XY | 3 |
3D
FollowLockAxis | Value |
---|---|
NONE | 0 |
X | 1 |
Y | 2 |
Z | 3 |
XY | 4 |
XZ | 5 |
YZ | 6 |
XYZ | 7 |