ocal dirVecX, dirVecY = targetX - mobPos.x, targetY - mobPos.y
dirVecX = dirVecX *
dirVe
1
dirVecY = dirVecY *
dirVec
1
targetX = mobPos.x + dirVecX -
targetX = mobPos.x +
-0.8 --> 몹몰이 좌표 좌, 우
targetY = mobPos.y + dirVecY -
targetY = mobPos
-0.2 --> 몹몰이 좌표 상, 하
--local userLayer = _UserService.LocalPlayer.AvatarRendererComponent.SortingLayer
makeCommand(_MobActionPartType.Fly, targetX, targetY,
makeCommand(_MobActionPartType.Fly, targe
makeCommand(_MobActmath.abs(targetY - mobPos.y) < 0.6, "Npc", true)
MyPos 값으로 몹 좌표 이동시키면 규칙팅 안뜨고 몹 캐릭옆에 다달라붙음
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 공지 | 게시판 이용 안내+156 | 10-20 | 22387 | |
| 61794 | 06:08 | 39 | ||
| 61793 | 12-30 | 252 | ||
| 61792 | 12-28 | 525 | ||
| 61791 | 12-28 | 571 | ||
| 61790 | 12-26 | 802 | ||
| 61789 | 12-25 | 957 | ||
| 61788 | 12-25 | 897 | ||
| 61787 | 12-24 | 1187 | ||
| 61786 | 12-23 | 1547 | ||
| 61785 | 12-22 | 1537 | ||
| 61784 | 12-22 | 1696 | ||
| 61783 | 12-22 | 1493 | ||
| 61782 | 12-21 | 1559 | ||
| 61781 | 12-21 | 1741 | ||
| 61780 | 12-21 | 1651 | ||
| 61779 | 12-19 | 1840 | ||
| 61778 | 12-18 | 1930 | ||
| 61777 | 12-18 | 2574 | ||
| 61776 | 12-16 | 2451 |
댓글7
와우.. ㅜㅜ
이걸 주워먹으려해도 못먹는 1인.. ㅋㅋ;
ㅋㅋ 코드 이따구로 올리는게 유행임?
주워먹을수있을때 주워먹어라 ㅋㅋ
어케해야되는거야 ㅠㅠ
헛소리를 정성스럽게 부분을 지우고 올리셨네
뭐 다가리고 올려놧네 makeCommand(_MobAct 다음 뒤에 이다구로올릴거면왜올림?