How to Generate splines in real time? Like GTA 5 gasoline trail

So like most other articles I’ve read,
people are having the same issues of
splines not generating in real time,
at best they duplicate the actor over
and over instead of adding additional
points to the first spline spawned.

Real-time splines have always been a thing, it’s actually fairly straightforward:

Once you have a spline, add spline mesh components, by default they have no collision but it can be added:

You will need collision for interaction, it does no need to visualised but can be to display a gasoline trail. You will need particles once lit.

You will need collision for
interaction

edit: or perhaps not since the plan is to turn it into a shape