Ad
Log in to vote
0

How to calculate the distance between two CFrames??

Asked by 16 days ago
Edited 16 days ago

Well, the title says it all. How to calculate the distance between two CFrames??

or, How many studs is the distance from Point1 to Point2??

1 answer

Log in to vote
2
Answered by 16 days ago
local distance = (CFrame1.Position - CFrame2.Position).Magnitude
Ad

Answer this question