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

static function Project (vector : Vector3, onNormal : Vector3) : Vector3

Description

Projects a vector onto another vector.

Returns vector projected onto onNormal. Returns zero vector if onNormal is almost zero.