GetPoint
7/14/25Less than 1 minute
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)
