Vector.dist(a, b);
No description
Arguments
a
The first pointb
The second pointReturns
number
The distance between the two pointslocal a = createVector(300, 500);
local b = createVector(200, 250);
local distance = a:dist(b);
print(distance);
Vector.dist(a, b);
No description
a
The first pointb
The second pointnumber
The distance between the two pointslocal a = createVector(300, 500);
local b = createVector(200, 250);
local distance = a:dist(b);
print(distance);