hello
can you please help me to understand what the GetSafeNormal function do?
i searched on the unreal web site, the only explanation on there is: Gets a normalized copy of the vector, checking it is safe to do so based on the length. Returns zero vector if vector length is too small to safely normalize. well, what if i dont come from the vector magic world?
thank you very much, this is a great course.
Normalizing a vector involves dividing each of its components by its magnitude. GetSafeNormal makes sure you donβt run into problems dividing by 0 even if the vector youβre trying to normalize has 0 magnitude.
thank you
if i get it correct, when the platform move forward the magnitude is increased in the positive x, when it come back to the start positin the magnitude wont be zero. so why do we need this function?