Quick tip…
Try to minimize your questioning about the problem. Because it will be much easier for someone to debug it, or at least try to provide some illustration of the problem.
I don’t quite understand the scope of this question: I am using getWorldPosition(), but the lines are still not positioned properly.
What do you mean by properly? Next to the sphere, along the sphere, the lines are supposed to be connected - but how, aren’t the lines themselves rendered as you expect?