Skip to main content

Ray.GetPoint(number distance)

Returns a point at distance units along the ray.

Parameters:

NameTypeDescription
distancenumberdistance

Returns:

typeDescription
Vector3a point at distance units along the ray.

Usage

---@type Ray
local ray;

---@type number
local distance;


local val0 = ray.GetPoint(distance)