Guys I am still trying to understand the whole role concept in networking. So I am trying to understand role_autonommous proxy. From my understanding role_autonomous proxy is the an actor that is being controled by the current client. Tell me if i’m correct. But where I am confused is what If you are on the server (assuming dedicated server setup) and you have a reference to a character actor (which is one of the players) and you ask for the remoteRole of that actor. Will it return Automonous_Proxy or Simulated_Proxy? I would think Autonomous_proxy because a player owns it, but now I am second guessing myself because I remembered that things are autonomous_proxies only if the current client owns it. But in this case, the “current client” is not a client at all, but is the server. So that’s when I would think it returns simulated_proxy. Can someone clear this up for me?
3 Likes
You are right.
Dedicated Server
Client 1 Character
- Role = Authority
- RemoteRole = Autonomous Proxy
Client 2 Character
- Role = Authority
- RemoteRole = Autonomous Proxy
Client 1
Client 1 Character
- Role = Autonomous Proxy
- RemoteRole = Authority
Client 2 Character
- Role = Simulated Proxy
- RemoteRole = Authority
Client 2
Client 1 Character
- Role = Simulated Proxy
- RemoteRole = Authority
Client 2 Character
- Role =Autonomous Proxy
- RemoteRole = Authority
18 Likes
Just the explanation I was looking for! Thx!
1 Like