How to calculate the distance between two vector3 points?

I would think there would be a function for this

Someone helped me out on discord:

local distanceBetween = (vectorA - vectorB).size

1 Like

I clicked on this to tell you what you found out on your own, but while I'm here I'd like to tell you to make sure not to do vectorA.size - vectorB.size. I made this mistake when working on an old project of mine and it does not equal the same result as (VectorA - VectorB).size :smiley: