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})
이게 맞다고?ㅋㅋ
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 36377 | 02-15 | 1222 | ||
| 36376 | 02-15 | 737 | ||
| 36375 | 02-15 | 412 | ||
| 36374 | 02-15 | 614 | ||
| 36373 | 02-15 | 1045 | ||
| 36372 | 소정만 받고 도와준다.+10 | 02-15 | 1174 | |
| 36371 | 02-15 | 420 | ||
| 36370 | 02-15 | 722 | ||
| 36369 | 몹텔자사 마귀+2 | 02-15 | 586 | |
| 36368 | 도와주세요+1 | 02-15 | 388 | |
| 36367 | 02-15 | 697 | ||
| 36366 | 02-15 | 566 | ||
| 36365 | 02-15 | 1780 | ||
| 36364 | 02-15 | 361 | ||
| 36363 | 02-15 | 609 | ||
| 36362 | 02-15 | 1322 | ||
| 36361 | 02-15 | 382 | ||
| 36360 | 02-15 | 467 | ||
| 36359 | 02-15 | 391 | ||
| 36358 | 02-15 | 513 |
댓글2
이 코드는 아이템이 떨어졌을 때 그 위치를 확인하고, 그 위치와 플레이어의 위치 사이의 거리를 계산하여 그 정보를 테이블에 추가하는 부분입니다.
그렇다면 아래의 구문은 어디에 종속시켜야하는겁니까?,
if _ItemDropLogic:CheckDropOwner(dropComponent.OwnType, dropComponent.OwnId,