Something similar to VisibilityNotifier but in 4.x?

Godot Version



There is a branch that has this node VisibilityNotifier VisibilityNotifier - add max_distance feature by lawnjelly · Pull Request #61544 · godotengine/godot · GitHub but that node does not exists in 4.2.

Does anyone know is there similar in 4.x?
Some mechanism that can tell if model is close or far to camera or if it even is in camera frustum?

I believe that node is now known as a VisibleOnScreenNotifier2D.

3D version:


Oh yeah, looks like it. Thanks!
But it appears that it has no way to tell how far from camera it is.

I agree. I can see the property present within the Godot 3.5 version:

I guess it must have been removed in Godot 4.0, but I am not sure why.

I guess I’ll have to do it myself. Thx.

1 Like