Riferimento API di nanos world Documentazione italiana non ufficiale
Documentazione ufficiale
Funzione Condiviso

Vector.Distance

Returns the distance of 2 vectors

Non ancora tradotto

Sintassi

Lua
my_vector:Distance(other)

Parametri

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

Valore restituito

  • number The distance between the vectors