Visibility Notifier 3D enter camera and exit camera signal camera parameter is boolean not Object

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By earlroxas
:warning: Old Version Published before Godot 3 was released.

So, in my project i use VisibilityNotifier (3D) Node, and when i use the signal enter camera and exit camera the camera parameter of the signal is boolean, but according to this it should be an Object not boolean. This is the sreenshot:

The VisibilityNotifier Node
The Script
The error

Godot version: 2.1 official stable
OS: Windows 8.1

The parameter should be a Camera node, it looks like a bug but I don’t see the point of that parameter because it only works with the current camera…

eons | 2017-02-14 03:51

It works per camera, that’s the point. So you get who can see you and vice versa.
Also, if you found a bug you should better report it here: Issues · godotengine/godot · GitHub

Zylann | 2017-02-14 14:50

@zylann mmm… maybe I just don’t understand how it works, if I add many cameras it only notify when appears on the active one (which is trivial to get).

eons | 2017-02-14 16:06

In theory you should not assume only one camera is active, because as soon as you do splitscreen, mirrors or viewports it’s no longer true (but that’s my opinion). But if you found an inconsistency between the docs and the engine you should report it for clarification.

Zylann | 2017-02-14 18:42

Oh, right, like one camera per viewport, it works fine that way (except on the boolean thing).

eons | 2017-02-14 18:54