채팅0

    자사 이동코드좀 봐줘

    조회수 435

    _UserService.LocalPlayer.WsUser:SetMovementEnable(false)

    _UserService.LocalPlayer.TransformComponent.WorldPosition.x = zz_y7.targetX + 0.5

    _UserService.LocalPlayer.TransformComponent.WorldPosition.y = zz_y7.targetY + 0.2

    _UserService.LocalPlayer.WsUser:SetMovementEnable(true)


    현재는 위와같이 일정 시간마다 우측위로 살짝 좌표이동하는 식으로해서 사냥중인데,

    이거를 방향키 일정시간 누르는거로 바꿀 수 있는 방법 없을까??

    방향키 누르는 명령어가 먼지 모르겠음 ㅠㅠ

    댓글3

    회원프로필

    _UserService.LocalPlayer.MovementComponent:SetPosition(Vector2(x,y))같은데 API만 보고온거라 잘 몰루

    2024.01.30 15:30
    회원프로필

    감사요 해볼게요

    2024.01.30 15:30

      게시글 리스트
      제목작성자작성일조회
      공지10-2022382
      6179212-28223
      6179112-28301
      6179012-26561
      6178912-25689
      6178812-25645
      6178712-24934
      6178612-231267
      6178512-221277
      6178412-221414
      6178312-221247
      6178212-211321
      6178112-211485
      6178012-211403
      6177912-191603
      6177812-181696
      6177712-182302
      6177612-162208
      6177512-142300
      6177412-142683
      안내 배너 이미지