i want to draw a line between two points, easy i know . but i want to have a condition, if there is no obstacle in between.
i am thing to use " .CurveSurfaceIntersection" and then an “if” condition for the length of the result.
i wonder if someone has a better idea.
I think you’ll need to provide a bit more information than that for people to be able to help you.
Perhaps a sketch or screenshot of what you are trying to achieve.
here is an example. but i don’t like my own solution because it is too much of extra calculation.
and i am actually first drawing and then to some extend “un-drawing” the line between those two points “x, and y”