ramokz / phantom-camera

👻🎥 Control the movement and dynamically tween 2D & 3D cameras. Built for Godot 4. Inspired by Cinemachine.
https://phantom-camera.dev/
MIT License
1.92k stars 62 forks source link

Toggling a PhantomCamera's visibility should prevent it from being active #280

Open ramokz opened 2 months ago

ramokz commented 2 months ago

Project Type

2D, 3D

Feature Description

Essentially works as an inverse-Priotiy Override, where toggling the visibility of a PCam node will work much like if calling a queue_free() method.

It should enable the user to disable a PCam, without having to either remove it from the scene or bounce a priority value back and forth.

Toggling the visibility at the minute has no discerning effect on the system, apart from hiding the icon in the inspector, so this should be a safe addition to add

Use Cases

Can be useful if you have a sequence of PCams where you want to just disable each one by one, while also enabling each again without having to store priority values or at the very least keeping track of it.

(Optional) Proposed Solution

No response