I have a 3d game with 2d play field defined by a spline component, I want to know the bounds the camera sees as distance from the beginning of the spline.
I extracted frustum planes to constraint Pawn in screen, but I was not able to solve the cubic spline equation satisfied the frustum planes to trigger enemy spawns.
I also thought about a discrete method, like binary search to approximate those beginning and ends camera sees on spline, however that might not be deterministic and I am not sure how it will effect multiplayer experience.
Any suggestions ?