for _, drop in ipairs(drops_output) do
if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId, dropComponent.CreateTim
local drop_pos = drop.Entity.TransformComponent.WorldPosition
local drop_pos = calculateDistance(player_pos, drop_pos)
table.insert(dropDistanceTable, {drop = drop, distance = drop_pos})
이게 맞다고?ㅋㅋ
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 36371 | 02-15 | 460 | ||
| 36370 | 02-15 | 759 | ||
| 36369 | 몹텔자사 마귀+2 | 02-15 | 621 | |
| 36368 | 도와주세요+1 | 02-15 | 422 | |
| 36367 | 02-15 | 725 | ||
| 36366 | 02-15 | 593 | ||
| 36365 | 02-15 | 1844 | ||
| 36364 | 02-15 | 393 | ||
| 36363 | 02-15 | 646 | ||
| 36362 | 02-15 | 1399 | ||
| 36361 | 02-15 | 411 | ||
| 36360 | 02-15 | 500 | ||
| 36359 | 02-15 | 418 | ||
| 36358 | 02-15 | 556 | ||
| 36357 | 02-15 | 890 | ||
| 36356 | 02-15 | 739 | ||
| 36355 | 02-15 | 549 | ||
| 36354 | 다클라 삽니다+1 | 02-15 | 464 | |
| 36353 | 다클라+3 | 02-15 | 490 | |
| 36352 | 02-15 | 1234 |
댓글2
이 코드는 아이템이 떨어졌을 때 그 위치를 확인하고, 그 위치와 플레이어의 위치 사이의 거리를 계산하여 그 정보를 테이블에 추가하는 부분입니다.
그렇다면 아래의 구문은 어디에 종속시켜야하는겁니까?,
if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId,