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

Vector2D.Distance

Returns the distance of 2 vectors

Non ancora tradotto

Sintassi

Lua
my_vector2_d:Distance(other)

Parametri

Nome Tipo Predefinito Descrizione
other Vector2D The vector to get the distance to

Valore restituito

  • number The distance between the vectors