Select your preferred scripting language. All code snippets will be displayed in this language.
History
Returns the distance between a and b.
a
b
Vector4.Distance(a,b) is the same as (a-b).magnitude.
Vector4.Distance(a,b)
(a-b).magnitude