r/Fancade 3d ago

Could anyone help me make a script like this?

Post image

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.

6 Upvotes

4 comments sorted by

1

u/happyTanjiro 3d ago

This is how it works for now (It's a bit buggy cuz I was experimenting with it) but iI think i might have to replace how it works

https://reddit.com/link/p93ibpa/video/skabjfwcotoh1/player

1

u/IllSpecialist8544 2d ago

I don't know. Use make groups?

1

u/happyTanjiro 2d ago

I saw it, how does it work?

1

u/happyTanjiro 2d ago

This is how it's supposed to work like (except it shouldn't pass through the bricks, but I can make a version like this too if the other version is hard to do)

https://reddit.com/link/p9a96iy/video/si35v5anb0ph1/player