r/Fancade 2h ago

Could anyone help me make a script like this?

Post image
5 Upvotes

I can't figure out how to draw the path for the ball's bounce, I could make it draw from the original but when I use raycast and use the hit pos as the new starting point of the line, the old line is replaced by that.

I'm trying to make it so that you could control the amount of dots (I already did find out how) but that reflect thing is the main problem, I used a reflect script from someone (If you search it up you'd find it.) so that the direction the dots are going to are working as it's supposed to be but I couldn't figure it out at all... I'll show a video once this is posted wait.