nanos world API Reference Unofficial documentation
Function Shared

Vector.Distance

Returns the distance of 2 vectors

Syntax

Lua
my_vector:Distance(other)

Parameters

Name Type Default Description
other Vector The vector to get the distance to

Returns

  • number The distance between the vectors