Ray.GetPoint Manual     Reference     Scripting  
Scripting > Runtime Classes > Ray
Ray.GetPoint

function GetPoint (distance : float) : Vector3

Description

Returns a point at distance units along the ray.

var r : Ray;
print( r.GetPoint (10) ); // a point 10 units along the ray