MobWalkLogic.UpdateMovePath에서
local targetX = target.TransformComponent.WorldPosition.x
newInputX = targetX > mobX and 1 or -1
이 코드를
local destinationX = 10
local destinationDirection = destinationX > mobX and 1 or -1
newInputX = destinationDirection
이렇게 수정하면 어떻게되나요?
| 제목 | 작성자 | 작성일 | 조회 | |
|---|---|---|---|---|
| 19774 | 01-27 | 262 | ||
| 19773 | 01-27 | 182 | ||
| 19772 | 01-27 | 326 | ||
| 19771 | 01-27 | 1074 | ||
| 19770 | 01-27 | 333 | ||
| 19769 | 01-27 | 202 | ||
| 19768 | 01-27 | 163 | ||
| 19767 | 01-27 | 356 | ||
| 19766 | 01-27 | 468 | ||
| 19765 | 01-27 | 337 | ||
| 19764 | 01-27 | 315 | ||
| 19763 | 01-27 | 236 | ||
| 19762 | 01-27 | 364 | ||
| 19761 | 01-27 | 567 | ||
| 19760 | 01-27 | 223 | ||
| 19759 | 01-27 | 142 | ||
| 19758 | 01-27 | 269 | ||
| 19757 | 01-27 | 2236 | ||
| 19756 | 01-27 | 188 | ||
| 19755 | 01-27 | 135 |
댓글2
1:1 ㄱ 수정 다 알려드림
이미 풀렸어 윗꺼 다운받아 ㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈ