Raycasts based on a start position, an end position, and an array of Axis Aligned Bounding Boxes defined by the player.
AABBs are encoded as a table with indicies 1 and 2 being a Vector3.
`{vec(0,0,0),vec(1,0.5,1)}` is a valid AABB, with `{ {vec(0,0,0),vec(1,0.5,1)}, {vec(0,0.5,0.5),vec(1,1,1)} }` being a valid AABB array.
This function returns the AABB table that was hit, the exact position hit as a Vector3, the side of the AABB hit as a string or nil if inside an AABB, and the index of the AABB that was hit in the array 
overload 1:
RaycastAPI.aabb(start: Vector3, end: Vector3, aabbs: Table): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| start accepts | typings.2002444080||
| end accepts | typings.2002444080||
| aabbs accepts | typings.80563118||
| Return Value | typings.1901216868
overload 2:
RaycastAPI.aabb(startX: Number, startY: Number, startZ: Number, end: Vector3, aabbs: Table): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| startX accepts | typings.-1950496919||
| startY accepts | typings.-1950496919||
| startZ accepts | typings.-1950496919||
| end accepts | typings.2002444080||
| aabbs accepts | typings.80563118||
| Return Value | typings.1901216868
overload 3:
RaycastAPI.aabb(start: Vector3, endX: Number, endY: Number, endZ: Number, aabbs: Table): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| start accepts | typings.2002444080||
| endX accepts | typings.-1950496919||
| endY accepts | typings.-1950496919||
| endZ accepts | typings.-1950496919||
| aabbs accepts | typings.80563118||
| Return Value | typings.1901216868
overload 4:
RaycastAPI.aabb(startX: Number, startY: Number, startZ: Number, endX: Number, endY: Number, endZ: Number, aabbs: Table): Varargs | Method Property | Fluent Description | Representation |
|---|---|---|
| startX accepts | typings.-1950496919||
| startY accepts | typings.-1950496919||
| startZ accepts | typings.-1950496919||
| endX accepts | typings.-1950496919||
| endY accepts | typings.-1950496919||
| endZ accepts | typings.-1950496919||
| aabbs accepts | typings.80563118||
| Return Value | typings.1901216868
listFiles
action_wheel
Action
BlockRaycastTypes