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)
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 31250 | 02-06 | 551 | ||
| 31249 | 02-06 | 477 | ||
| 31248 | 02-06 | 656 | ||
| 31247 | 02-06 | 337 | ||
| 31246 | 02-06 | 373 | ||
| 31245 | 02-06 | 568 | ||
| 31244 | 02-06 | 671 | ||
| 31243 | 02-06 | 486 | ||
| 31242 | 02-06 | 383 | ||
| 31241 | 02-06 | 409 | ||
| 31240 | 02-06 | 1005 | ||
| 31239 | 02-06 | 2982 | ||
| 31238 | 02-06 | 586 | ||
| 31237 | 02-06 | 1047 | ||
| 31236 | 02-06 | 602 | ||
| 31235 | 02-06 | 1149 | ||
| 31234 | 02-06 | 737 | ||
| 31233 | 다클라 질문+2 | 02-06 | 502 | |
| 31232 | 02-06 | 757 | ||
| 31231 | 02-06 | 713 |
댓글1
0.7을 바꿔보센