Hello there! I use raycast with collision groups. But result contains only part that raycast touched. I want to get all parts through what raycast went.
Hey, is this what you’re looking for?
this checks parts in radius. But raycast is a line
i suggest the following:
- launch a raycast
- write down the hit part in a list
- repeat, and exclude by blacklist the parts you hit each time
- finish the loop when a raycast hits nothing
- return the list
i’m not entirely sure how lists in lists behave so you might need a bit of research on this point