Spline Plane Intersection

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 ?

I did it, I used plane normal as basis and created a rotation matrix and a translation matrix using a point on the plane, transformed spline using inverse of it, and then just calculated roots of spline’s cubic polynomial for a single dimension.

took me a while to figure out, neither google nor mathematica did not help much.

English, brother :slight_smile: