채팅0

    맵밖숨기

    조회수 427

    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-2022124
      6167309:0535
      6167211-13115
      6167111-13147
      6167011-13164
      6166911-13160
      6166811-13169
      6166711-13190
      6166611-13307
      6166511-12320
      6166411-12343
      6166311-12401
      6166211-11535
      6166111-11497
      6166011-11655
      6165911-11548
      6165811-11699
      6165711-10610
      6165611-10638
      6165511-10617
      안내 배너 이미지