Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Length Squared Node
Description
Outputs the squared length of the input vector. This method is much faster than Length — the calculation is basically the same only without the slow Sqrt call. If you are using lengths simply to compare distances, then it is faster to compare squared lengths against the squares of distances as the comparison gives the same result.
Last update:
2023-12-19
Help improve this article
(or select a word/phrase and press Ctrl+Enter)