Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso Solo bleeding edge

Vector2D.IsNear

Efficiently checks whether vector is near to another vector within a specified radius

Non ancora tradotto

Sintassi

Lua
my_vector2_d:IsNear(other, radius)

Parametri

Nome Tipo Predefinito Descrizione
other Vector2D The vector to compare to
radius number The radius to check

Valore restituito

  • boolean If the vector is near to the other vector