Turning actors not in players view to hidden assistance

Hi guys!

I am a little bit stuck on figuring out how to do something.

What I need to do is find a way to have actors in my scene that are not in the players view automatically go invisible when not in view and then turn back visible when in the players view. Is this doable?

I have been looking for a while and have not been able to find anything. This needs to be an automatic process.

Any ideas?

Thank you in advance.

It sounds like you just described frustum culling which UE4 does by default so you don’t need to do that. This looks like a good read on ue4’s culling

If you are trying to do something else based on if the actor is in the player’s view, maybe something like this: How to determine if an actor is on screen? - UE4 AnswerHub

Wow, the job was done for me already then. Thanks.