Skip to content

How can I use Phantom Camera in a first-person game with cutscenes? #361

Discussion options

You must be logged in to vote

I think I may have found a solution. I removed any Camera3Ds and PCams from my player scene and added a Node3D called PCamPlaceholder where the Camera3D was originally positioned, with the same orientation. I added this line to the player script to get a reference to it:

@onready var p_cam_placeholder := $PCamPlaceholder

In my level scene I added a PhantomCamera3D called PlayerPhantomCamera3D. For this player PCam I set follow mode to glued and look at mode to mimic, and I set the tween duration to 0. Now in my level script I set everything up in the _ready function:

@onready var player := $Player

var player_p_cam : PhantomCamera3D

func _ready():
	for cam in PhantomCameraManager.phanto…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@ramokz
Comment options

@stevenmraines
Comment options

@ramokz
Comment options

@stevenmraines
Comment options

Answer selected by stevenmraines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants