I don't actually need to create the curve, all I need to do is check if they're intersecting. The part I can't figure out is - the intersect command creates an intersectSurface node and then feeds the two surfaces you want to test as input to it. It connects the worldSpace attribute to the inputSurface attribute of the intersectSurface node.
Now before it connects it, the worldSpace attribute is an empty array. After it connects it, it has a single value which it uses to connect. How do I replicate this in API?
Or, is there an easier way to perform the test that I'm missing?
Thanks for the help!