if math.abs(targetX - mobX) > 6 then
if targetX > mobX then
-- newInputX = 3
newInputX = 2
else
-- newInputX = -3
newInputX = -2
end
if gapX > 3 then
makeCommand(_MobActionPartType.Move, newInputX, 0, nextAction)
makeCommand(_MobActionPartType.Jump, 0.7, 0)
elseif gapY > 1.8 then
makeCommand(_MobActionPartType.Move, newInputX, 0, nextAction)
makeCommand(_MobActionPartType.Jump, -0.7, 0)
elseif gapX < 1.5 and targetX < mobX then
makeCommand(_MobActionPartType.Move, 0, 0, nextAction)
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 31245 | 02-06 | 555 | ||
| 31244 | 02-06 | 654 | ||
| 31243 | 02-06 | 472 | ||
| 31242 | 02-06 | 371 | ||
| 31241 | 02-06 | 396 | ||
| 31240 | 02-06 | 986 | ||
| 31239 | 02-06 | 2945 | ||
| 31238 | 02-06 | 579 | ||
| 31237 | 02-06 | 1011 | ||
| 31236 | 02-06 | 586 | ||
| 31235 | 02-06 | 1130 | ||
| 31234 | 02-06 | 724 | ||
| 31233 | 다클라 질문+2 | 02-06 | 489 | |
| 31232 | 02-06 | 742 | ||
| 31231 | 02-06 | 698 | ||
| 31230 | 02-06 | 344 | ||
| 31229 | 02-06 | 487 | ||
| 31228 | 02-06 | 697 | ||
| 31227 | 02-06 | 523 | ||
| 31226 | 02-06 | 534 |
댓글1
0.7을 바꿔보센