채팅0

    기다리다지쳐서 내가만들어보겠따고 코드 변경중인데 봐주실분있나요

    조회수 183

    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


    이렇게 수정하면 어떻게되나요?

    댓글2

    회원프로필

    1:1 ㄱ 수정 다 알려드림

    2024.01.27 20:25
    회원프로필

    이미 풀렸어 윗꺼 다운받아 ㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈㅈ

    2024.01.27 20:25

      게시글 리스트
      제목작성자작성일조회
      공지10-2022125
      6167701:039
      6167611-14103
      6167511-14116
      6167411-14109
      6167311-14127
      6167211-13219
      6167111-13270
      6167011-13251
      6166911-13240
      6166811-13254
      6166711-13276
      6166611-13398
      6166511-12407
      6166411-12430
      6166311-12489
      6166211-11627
      6166111-11580
      6166011-11748
      6165911-11629
      안내 배너 이미지