Search for actors visible on the screen?

Hi!

Is there a way to only search for actors visible on the screen? Or e.g. how do you run a collision test with a shape like the view frustum in code?

Do you want to do it in C++ or Blueprints?

Rama recently released some blueprint functions. One of them gets currently rendered actors.
Link

Thanks! I will check that out.

I know its a bit late, but were you able to get Rama’s blueprint functions for actor visibility to work? Thanks!

It worked but I ended up just using some collision checks and then iterating through the actors.

i want a C++ do you have a link

You may want to check out Rama’s work which is linked below already. It’s written in C++ and can also be used in blueprints. If that doesn’t meet your needs for any reason you can implement your own custom solution that suits your game. That can be done by e.g. doing some basic build in collision checks or otherwise I’m afraid that you will have to use some math/black magic.