Ray.GetPoint(number distance)
Returns a point at distance units along the ray.
Parameters:
Name | Type | Description |
---|---|---|
distance | number | distance |
Returns:
type | Description |
---|---|
Vector3 | a point at distance units along the ray. |
Usage
---@type Ray
local ray;
---@type number
local distance;
local val0 = ray.GetPoint(distance)