Skip to content

Distance

Description

Distance is a Function on Vector3
Returns the distance between two Vector3s.

Example
local testVariable = Vector3.Distance(Vector3.New(1, 1, 1), Vector3.New(1, 1, 1))
Usage

network usage: Any (Client or Server/Host)
returns: float
parameters:
- a (Vector3)
- b (Vector3)