For this I will be calling the position where one part collides with another p1. So how could I find p1? I’ve already tried raycasting, but found that it was inaccurately detecting where the position of where it hit was. In what ways could I go about solving this problem?
Since you are using a ball, can’t you just move outwards from the center of the ball in the direction of the part it is hitting. You would move outwards only the radius length. It probably won’t be accurate for non-equal side length shapes because the center is elsewhere but I dunno.