📜  roblox 幅度 - 任何代码示例

📅  最后修改于: 2022-03-11 14:57:49.100000             🧑  作者: Mango

代码示例1
--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)