채팅0

    맵밖숨기

    조회수 429

    local gethidepos = function()

    local mapInfo = _UserService.LocalPlayer.CurrentMap.MapInfoComponent

    local BoundLb = mapInfo.BoundLb

    local BoundRt = mapInfo.BoundRt

    local HidePos = Vector2((BoundLb.x + BoundRt.x)/2 , BoundLb.y - 100)

    return HidePos

    end

    local teleportTo = function(dest)

    _UserService.LocalPlayer.WsUser:SetMovementEnable(false)

    _UserService.LocalPlayer.TransformComponent.WorldPosition = dest

    end


    적용하는법 알려주실분 1ㄷ1드릴게요 제발형님들

    댓글2

    회원프로필

    이대로는 안되는거아님? 텔레포트 함수를 호출해야 되는거아닌가?

    2024.01.29 05:02
    회원프로필

    밑에꺼 그대로 퍼다 날랐노

    2024.01.29 05:05

      게시글 리스트
      제목작성자작성일조회
      공지10-2022384
      6179303:2042
      6179212-28321
      6179112-28389
      6179012-26631
      6178912-25773
      6178812-25720
      6178712-241009
      6178612-231348
      6178512-221353
      6178412-221496
      6178312-221324
      6178212-211389
      6178112-211559
      6178012-211473
      6177912-191671
      6177812-181763
      6177712-182384
      6177612-162276
      6177512-142368
      안내 배너 이미지