Function
Vector.IsNear
Efficiently checks whether vector is near to another vector within a specified radius
Syntax
my_vector:IsNear(other, radius)
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
other
|
Vector | — | The vector to compare to |
radius
|
number | — | The radius to check |
Returns
- boolean If the vector is near to the other vector