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