Framed Follow viewfinder conflict with debug_draw_3d addon
Issue description
In this release after running the res://addons/phantom_camera/examples/example_scenes/3D/3d_follow_framed_example_scene.tscn I see this
No reaction on mouse movement or keys pressed
Steps to reproduce
In this release run scene res://addons/phantom_camera/examples/example_scenes/3D/3d_follow_framed_example_scene.tscn
(Optional) Minimal reproduction project
No response
I use Godot 4.2.1 GDScript version
That doesn't look right. Have no never seen that issue before.
I tried downloading the addon from the AssetLib on a freshly made project.
When I'm running it, I'm seeing the below:
Are you getting any errors in the Output tab?
Are you getting any errors in the
Outputtab?
There are no errors. If you are interested, you can try it in my project, where I ran into a problem: https://github.com/fhgaha/snow-car
It appears to be caused by the debug_draw_3d addon in your project.
I am not sure why.
Huh! Interesting
I see the same issue in my project - it appears that, somewhere, a CanvasLayer with a ViewfinderPanel control is being instanced and added as a child to the first node in the scene tree. I have to disable all of my Autoload scripts/scenes to see the intended effect (where the CanvasLayer becomes a child of the "Root" Node3D), otherwise it attaches itself to the first Autoload node in the tree.
Had another look at this. Don't think the issue is related to where the Viewfinder is instantiated / nested within the scene tree. Reason being that even when it's a child of the root node, it still has the issue:
My suspicion is that there is something within that Debug addon that is conflicting with the viewfinder overlay, but don't know what that would be. The white overlay is related to the SubViewport node within the ViewfinderPanel control group, as turning that off makes it go away, but the problem goes deeper than that.
Weirder still is that changing the dead zone width or height doesn't work during runtime, but once you remove the debug addon it does. So there are definitely some addon conflicts going on.