bool IsNearBounds | ( | BoundsType | type, |
Vector3 | position, | ||
float | radius | ||
) |
Determines if the entity with the given position and radius is close enough to the bounds specified by type for the bounds to be relevant.
This might be useful, e.g., for the bounds behaviours (Pro only).
type | The BoundsType to be used. |
position | The position to be checked. |
radius | The radius to be checked. |
true
if the bounds are relevant, false
otherwise.