I want to do this for a melee system, my problem is that it’s only detecting one. With a magnitude, is there any way I can detect multiple parts (character parts)?
EDIT: I don’t care if there’s a hacky solution, but if there is, then I’ll gladly use it.
What u can technically do is raycast a ray with no blacklisted items. And when it hits an object, add it to the blacklisted table, and another table which will hold the parts it collided with, and raycast once again. So basiaclly repeat this process until the ray doesnt hit anything.