Vector:DistanceTo(Vector, Vector)

shared
Calculates the distance between two vectors.

Arguments

Returns

  • number The distance between the two vectors.

Examples

Vector:DistanceTo – Calculates the distance between two vectors.