Vector3.ClampMagnitude Manual     Reference     Scripting  
Scripting > Runtime Classes > Vector3
Vector3.ClampMagnitude

static function ClampMagnitude (vector : Vector3, maxLength : float) : Vector3

Description

Returns a copy of vector with its magnitude clamped to maxLength.