Answers for "roblox magnitude"

0

roblox magnitude

--returns a number value of the distance between 2 Vector3 (Position) values in studs

local magnitude = (workspace.Part1.Position - workspace.Part2.Position).Magnitude
print(magnitude)
Posted by: Guest on June-13-2021

Browse Popular Code Answers by Language