회원SuMXdMA이거 아무데나 넣어서 써 zz_y7.Breathing.outside.map = function(self) local function calculateDistance(pos1, pos2) local dx = pos1.x - pos2.x local dy = pos1.y - pos2.y local dz = pos1.z - pos2.z return math.sqrt(dx*dx + dy*dy + dz*dz) end2024.02.27 20:19
댓글4
저두용
이거 아무데나 넣어서 써
zz_y7.Breathing.outside.map = function(self)
local function calculateDistance(pos1, pos2)
local dx = pos1.x - pos2.x
local dy = pos1.y - pos2.y
local dz = pos1.z - pos2.z
return math.sqrt(dx*dx + dy*dy + dz*dz)
end
걍 거리계산 공식 아니냐 ㅋㅋ
어디에 넣어야하조..형님..