When you get the coordinates and directions of the collision points in RefPose space, you can easily draw up a start point and an end point and replace them directly into the functions given by @Guitarana .
When you get the coordinates and directions of the collision points in RefPose space, you can easily draw up a start point and an end point and replace them directly into the functions given by @Guitarana .