Skip to content
English

Math API

Get Distance Between coords

ParameterDescription
firstcoords in vector3
secondcoords in vector3

FeatherCore.misc.GetDistanceBetween(first, second)

Example Usage:

lua
-- Client
CreateThread(function()
    FeatherCore.Math.GetDistanceBetween(vector3(0, 0, 0), vector3(1, 1, 1))
end)
-- Client
CreateThread(function()
    FeatherCore.Math.GetDistanceBetween(vector3(0, 0, 0), vector3(1, 1, 1))
end)