I tried to make docking guidance system according to arno's tutorial. Everything works when the object is rotated 360. ( Vector is 0,0,-1 that means at opposite dircetion 180 ). But it does not work in another rotation.

There is no description how the vector in SEPARATION_PLANE should look. I tried both Z, X, Y and X, Z, Y and it didn't work. I wrote vector with length of 1 into it ( f.e. for gate that has heading 245 i tried 0.906, 0, 0.4226, and 0, 0.906, 0.4226, and none of them worked ).

It is always easier to ask than to reinvent the wheel, so I am asking. Thankx for help.