UE5 - Multiplayer Interaction system Pt 1

แชร์
ฝัง
  • เผยแพร่เมื่อ 10 พ.ย. 2024

ความคิดเห็น • 16

  • @Zackaery
    @Zackaery 11 หลายเดือนก่อน +2

    Insanely helpful. This has been the best video I've seen explaining multiplayer authority for client vs server interaction. Thank you so much. I originally thought I was going to have to complicate a lot of my objects by adding multiple authority checks to each one, but doing it this way is incredible! Thank you!

  • @thekracken420
    @thekracken420 10 หลายเดือนก่อน +1

    This is sooo underrated.. I have been looking for pretty much this exact solution for multiplayer tracing. Thank you so much! Keep up the good content :D Never subscribed so fast in my life

    • @Rev0verDrive
      @Rev0verDrive  10 หลายเดือนก่อน +1

      Thanks 👍

  • @PlayerIGN
    @PlayerIGN ปีที่แล้ว +1

    very nice, under-rated

  • @adambetts4957
    @adambetts4957 11 หลายเดือนก่อน +1

    Ive been trying to post a comment for a few days but I think TH-cam doesn't like my link to Imgur so we'll have to do without. These are great videos but I was wondering how you would go about setting a variable inside the player using this system. I want to add to an integer that is stored in the player when I interact with an object using your system.

  • @robertwilson1589
    @robertwilson1589 9 หลายเดือนก่อน +1

    It seem to be a well made video but if you are on a client (remote) then it is not firing a line trace. Is "seems" like your code is working because you are only testing on the server. To see if your code works for multiplayer (which it doesn't), you have to use two or more players and set netmode to listen or play as client.

    • @Rev0verDrive
      @Rev0verDrive  9 หลายเดือนก่อน

      It's 100% multiplayer ready. Not sure if you've thoroughly reviewed the code. Clients trace is red, servers is purple.
      Clients fires local trace. If it hits a valid target,then it calls rpc to run the same function on the server. Re-walk the logic. It'll click.

    • @Rev0verDrive
      @Rev0verDrive  9 หลายเดือนก่อน

      FYI when using "Switch has Authority" in a dedicated multiplayer setting "Remote" is always client, "Authority" is always the server.
      i.imgur.com/qh49C0f.png
      ^^ Review the Macro
      Alternatively you can create your own macro. i.imgur.com/KODaQNu.png

  • @sohansuvarna1369
    @sohansuvarna1369 หลายเดือนก่อน

    Thanks for the tutorial, this helped me a lot. I tried interacting with server character but it does not work. Is there a way to interact with server character

    • @Rev0verDrive
      @Rev0verDrive  หลายเดือนก่อน

      A bit more detail about what you're trying to do would be helpful. But in general you'd implement an interface on the character and call an interface event from the server side of the code. Just as with doors, elevators etc.

  • @lovemeatsaonian7299
    @lovemeatsaonian7299 ปีที่แล้ว

    Hello, does splitting functionality into Actor components and heavy use have a significant impact on performance?

    • @Rev0verDrive
      @Rev0verDrive  ปีที่แล้ว

      Depends on what's in the AC and how often it's used. Details and context matter.

    • @lovemeatsaonian7299
      @lovemeatsaonian7299 ปีที่แล้ว

      Okay, thank you@@Rev0verDrive

  • @GiiyomCG
    @GiiyomCG 5 หลายเดือนก่อน

    What do you mean at the start when you say this is not something that would be done in a real production?

    • @Rev0verDrive
      @Rev0verDrive  5 หลายเดือนก่อน +1

      I'm referring to the Delay on Begin play. Better approach is polling references.

    • @GiiyomCG
      @GiiyomCG 5 หลายเดือนก่อน

      @@Rev0verDrive Oh ok thanks for the reply