채팅0

    좌표이동 조언좀

    조회수 578

    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

      안내 배너 이미지