#UnityTips Normalizing a zero vector is mathematically undefined and returning NaN within the Unity.Mathematics lib! When normalizing i.e. a Unity.Mathematics float3 use the normalizesafe method to avoid NaN. It works for Vector3 though! #gamedev #indiedev
4 likes 0 replies
?