Skip to content
Discussion options

You must be logged in to vote

I'm guessing that there is a script on each Area3D, which is what changes the priority of each's associated static PCam? Where that the script is reused in each Area3D instance for all 30+ PCams, where each script has a reference to the PCam node it should control the priority of?

If so, it should just boil down to each script instance talking to a scene manager.

If you made a general reference to a scene manager from the shared Arera3D script using, e.g., a scene unique reference (%), which is just one line of code, then, when the static PCam3D of the Area3D emits the became_inactive signal, you can call a method from the scene manager, where you pass the rotational value of the now inac…

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

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

@mikest
Comment options

@ramokz
Comment options

Answer selected by ramokz
@mikest
Comment options

@mikest
Comment options

@ramokz
Comment options

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