Content-Length: 17686 | pFad | https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Vector3-magnitude.html
Returns the length of this vector (Read Only).
The length of the vector is square root of (x*x+y*y+z*z).
If you only need to compare magnitudes of some vectors, you can compare squared magnitudes of them
using sqrMagnitude (computing squared magnitudes is faster).
Additional resources: sqrMagnitude.
Fetched URL: https://docs.unity3d.com/ScriptReference/../Manual/../ScriptReference/Vector3-magnitude.html
Alternative Proxies: