No. Not now.eivindkvedalen wrote: ↑Sun Jul 15, 2018 4:32 pm Could you please try to hard-code xDir to be (1, 0, 0), and see if that helps?
I have tested the method on a few vectors, and it worked. So as tanderson69 pointed out, the missing xDir.Normalize() call is the problem.