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})
이게 맞다고?ㅋㅋ
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 36383 | 02-15 | 493 | ||
| 36382 | 02-15 | 452 | ||
| 36381 | 02-15 | 1566 | ||
| 36380 | 02-15 | 729 | ||
| 36379 | 다클 원클릭+2 | 02-15 | 704 | |
| 36378 | 02-15 | 690 | ||
| 36377 | 02-15 | 1244 | ||
| 36376 | 02-15 | 753 | ||
| 36375 | 02-15 | 434 | ||
| 36374 | 02-15 | 631 | ||
| 36373 | 02-15 | 1082 | ||
| 36372 | 소정만 받고 도와준다.+10 | 02-15 | 1210 | |
| 36371 | 02-15 | 440 | ||
| 36370 | 02-15 | 737 | ||
| 36369 | 몹텔자사 마귀+2 | 02-15 | 605 | |
| 36368 | 도와주세요+1 | 02-15 | 402 | |
| 36367 | 02-15 | 714 | ||
| 36366 | 02-15 | 580 | ||
| 36365 | 02-15 | 1820 | ||
| 36364 | 02-15 | 381 |
댓글2
이 코드는 아이템이 떨어졌을 때 그 위치를 확인하고, 그 위치와 플레이어의 위치 사이의 거리를 계산하여 그 정보를 테이블에 추가하는 부분입니다.
그렇다면 아래의 구문은 어디에 종속시켜야하는겁니까?,
if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId,