For future people.
This checks if a point is within a camera’s frustum using only blueprints.
Here is an example of it stacked within a system to choose the most optimal cctv camera.
- Each camera checks if each bone’s location is in its frustum.
- Each point in its frustum get’s line traced too.
- Camera with most visible points is chosen as optimal.
…3.1. If 2 Cameras have the same amount of visible points, the one with the closest visible point wins.
…3.2 If no camera is optimal then player camera is chosen