Browsing StarfallEx's section
โ† Back to ACE
Back to StarfallEx

SFEX.find.inRay

S๐Ÿท๏ธ Find

Part of StarfallEx namespace

๐Ÿ”— External
find.inRay(startpos, endpos, mins, maxs, filter)
View on GitHub|lua/starfall/libs_sh/find.lua:113
๐Ÿ“‹ Has LDoc๐Ÿ‘๏ธ 0 viewsUpdated 2 months ago

Description

Finds entities in a ray

Parameters

NameTypeDescription
startposVectorThe ray start
endposVectorThe ray end
mins?VectorIf not nil, will define a lower bound of the ray's hull
maxs?VectorIf not nil, will define an upper bound of the ray's hull
filter?functionOptional function to filter results

Returns

TypeDescription
tableAn array of found entities

Examples

No examples available.

Used In

No usages found in the codebase.