Part of StarfallEx namespace
๐ External
find.inRay(startpos, endpos, mins, maxs, filter)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Finds entities in a ray
Parameters
| Name | Type | Description |
|---|---|---|
startpos | Vector | The ray start |
endpos | Vector | The ray end |
mins? | Vector | If not nil, will define a lower bound of the ray's hull |
maxs? | Vector | If not nil, will define an upper bound of the ray's hull |
filter? | function | Optional function to filter results |
Returns
| Type | Description |
|---|---|
table | An array of found entities |
Examples
No examples available.
Used In
No usages found in the codebase.