Skip to content

Introduce a signal will_become_active(previous_camera: Node) signal when changing cameras. #524

@mikest

Description

@mikest

Project Type

3D

Feature Description

emit a signal will_become_active(previous_camera: Node) when transitioning to a new camera so that it can use the previous camera to update its settings prior to the transition start.

Use Cases

To implement thrid person rotation matching between multiple cameras one needs a reference to the previous camera when the change occurs. Because the previous camera is not passed on became_active() it doesn't appear to be possible to copy the rotation when the camera changes.

(Optional) Proposed Solution

  • introduce a signal on the PhantomCameraHost or alternatively PhantomCameraManager that is fired whenever the _active_camera changes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions