isFree

fun isFree(query: Vector2, ignoreOwners: Set<Any> = emptySet()): Boolean(source)

Checks if a specific query point in 2D space is free from any nearby points or owners, according to the internal grid structure and other constraints.

Return

true if the query point is free, false otherwise.

Parameters

query

The 2D point represented as a Vector2 to check for available space.

ignoreOwners

A set of owners to be ignored while checking for nearby points. Defaults to an empty set.