채팅0

    좌표이동 조언좀

    조회수 594

    zz_y7.auto_move = function (self)

    if(math.abs(_UserService.LocalPlayer.TransformComponent.WorldPosition.x - zz_y7.target_x) >= 0.1)

    local deltaPos = Vector2(zz_y7.target_x, _UserService.LocalPlayer.TransformComponent.WorldPosition.y)

    _UserService.LocalPlayer.WsUser.MovementComponent:SetPosition(deltaPos)

    end

    end


    뭔가 잘못된거라도?


    target_x 는 저장값이고, auto_move 함수는 타이머함수로 0.1초마다 부르게 설정해놈

    댓글6

    회원프로필

    밴임 쓰지마 ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ

    2024.02.05 17:08
    회원프로필

    좌표이동이 밴임;?

    2024.02.05 17:09
    회원프로필

    예전에 자사가 왜 밴이였는데 ㅎㅎ

    2024.02.05 17:20
    회원프로필

    여긴없다 형...

    2024.02.05 17:09
    회원프로필

    setposition이 이동함수가 아니라 좌표 함수일걸

    나도 찾아보는데 넘어렵네

    2024.02.05 17:42
    회원프로필

    나도 비슷하게 짰는데 전붕이 비활자사 시켜볼라고.. 근데 안됨 ㅅㅂ 뭐가문젤까

    2024.02.06 00:33

      게시글 리스트
      제목작성자작성일조회
      공지10-2022377
      6179016:1865
      6178912-25185
      6178812-25192
      6178712-24468
      6178612-23733
      6178512-22795
      6178412-22895
      6178312-22798
      6178212-21884
      6178112-211022
      6178012-21957
      6177912-191152
      6177812-181260
      6177712-181799
      6177612-161762
      6177512-141875
      6177412-142222
      6177312-142131
      6177212-131990
      안내 배너 이미지