Hi all, i am working on something using hitnormal to calculate reflection.
It all works fine, but for the fact that the vector input doesn’t seem to be right.
I use the function owner.getVectTo(object) to get the vector to the plane, but instead of showing:
Vector(()),Vector(()),Vector(())
it shows
float,Vector(()),Vector(())
here is console
#owner.getVectTo(target)
(11.987321276894706, Vector((-0.9584823846817017, 0.12038645148277283, -0.258493
00622940063)), Vector((-0.9584823846817017, 0.12038645148277283, -0.258493006229
40063)))