채팅0

    좌표이동 조언좀

    조회수 579

    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-2022108
      6166508:3378
      6166403:5974
      6166300:09156
      6166211-10129
      6166111-10136
      6166011-10144
      6165911-10176
      6165811-10253
      6165711-10300
      6165611-09352
      6165511-09319
      6165411-09350
      6165311-09389
      6165211-09355
      6165111-09405
      6165011-09462
      6164911-09390
      6164811-08433
      6164711-08449
      안내 배너 이미지