Part of StarfallEx namespace
๐ External
trace.isBoxIntersectingSphere(boxMins, boxMaxs, spherePos, sphereRadius)๐ Has LDoc๐๏ธ 0 viewsUpdated 2 months ago
Description
Performs a box-sphere intersection and returns whether there was an intersection or not.
Parameters
| Name | Type | Description |
|---|---|---|
boxMins | Vector | The minimum extents of the World Axis-Aligned box. |
boxMaxs | Vector | The maximum extents of the World Axis-Aligned box. |
spherePos | Vector | Position of the sphere. |
sphereRadius | number | The radius of the sphere. |
Returns
| Type | Description |
|---|---|
boolean | true if there is an intersection, false otherwise. |
Examples
No examples available.
Used In
No usages found in the codebase.