%PhantomCamera3D can't be found #188
Replies: 2 comments 2 replies
-
That's strange, can't seem to replicate it in the example scene at least. Are you referencing it directly via |
Beta Was this translation helpful? Give feedback.
-
I've also encountered this issue before, specifically for third person follow. Reparenting to the spring arm breaks the unique name reference. As a workaround, I have my main world manager grab and hold the PhantomCamera3D node reference before giving it a follow target. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I've added PhantomCamera3D using ThirdPerson Follow Mode.
Even though I've marked it as % to be able to get a referece to it anywhere, it can't be found this way.
Upon debugging, it seems to get re-created as a child-node of a
SpringArm3D
an thus loosing the unique handle.Just for context, when respawning the player, I'd like to call
set_follow_target_node
on it.As a workaround I'm currently using
$Camera3D/PhantomCameraHost.get_active_pcam()
to get a hold of it and re-assign it, which works for me, but it could be an issue if multiple cameras are involved, like in the 3DFollowThirdPersonExampleSceneBeta Was this translation helpful? Give feedback.
All reactions