Normalized Direction of one point..

hello,

a simple Question…

is there a way to get the unit Vector of a one game object, thus one point in space?

currently in the vector cookbook it shows how to get the normalized direction between 2 points…

And where would this one point point towards?

If you need to generate direction for your points (positions), you could probably pick an arbitrary direction, like world up (Vector3(0,1,0)) for example?

It would help if you told more about your use case.

1 Like

hey thanks, i was able to solve the problem, i just created a ray forward and got the point 1 unit ahead and then made the normalization it worked well thanks:)

1 Like