Download

How vectore variable could store a direction, using coordinate of only one point

Hello, just trying to understand how vectore variable could store a direction, using coordinate of only one point. If i understand correctly, we need at least two points to draw, a line(line that will show a direction).

I made, a test scene, where vector variable, get a direction of ball, at the moment of it hit to wall. I have been used a “print string”, and it show, that this vector variable store coordinates of one point only. debug line was drawn correctly.

The other point is 0,0,0

1 Like

the vector3 stores 3 float values that are “normalized” and it works kinda like a rotator or rotation on all 3 axes. it is normalized meaning it will convert 0-360 degrees into 0-1 and that is for each axis

1 Like

Thanks for info =)

thanks for help =)