How check is actor visible on distance?

Hi, can u tell me how I can check visibility from one actor to another actor on some distance between them? Is this must be done by tracing or UE has ready feature for this?

You do that by standard collision system, since rendering is pretty much done from same data (not to mention UE4 in dedicated server mode is force to do things without rendering with only collision system), and you do it same as you would check object colliding, in this case with view distance or line of sight. Ue4 even provides trace category “Visibility”. You can do shape trace which checks if object is inside of shape or by line trace by checking if object collides with line. here docs: