How to make fx rocks make a line

Currently, my debris script makes rocks appear randomly out of the ground and makes a result like this:
image

It is a travelling projectile that will bust rocks on the ground, so it should be a line like this.

image

The rocks pile at the sides, according to the trajectory. But i dont know how to calculate this. help pls

1 Like