Hi, sorry for this question but in the PlatformVelocity I don´t understand what makes the GetSafeNormal() member.
Best Regards
marco
Hi, sorry for this question but in the PlatformVelocity I don´t understand what makes the GetSafeNormal() member.
Best Regards
marco
It’s just returning the same vector but scaled so it’s size (or magnitude) equals 1 (a.k.a. ‘unit’ vector).
The ‘Safe’ in GetSafeNormal just means it protects against a potential divide-by-zero.