Vector4.Distance Manual     Reference     Scripting  
Scripting > Runtime Classes > Vector4
Vector4.Distance

static function Distance (a : Vector4, b : Vector4) : float

Description

Returns the distance between a and b.

Vector4.Distance(a,b) is the same as (a-b).magnitude