KimJiSu
(CheeseStick)
1
hello.
I have a question about RPC.
There are two things I’m curious about.
-
If RPC parameters increase, does bandwidth usage increase?
-
Is there a difference in bandwidth used when using two-parameter RPC and when using two one-parameter RPC?
I’m sorry I’m not familiar with English yet.
thank you.
The more data you pass in an RPC the more space it takes up in a packet body. This makes the packet larger… which uses more bandwidth.
One RPC with 2 floats is slightly smaller than 2 RPC’s with one float each. The difference is the rpc instruction.
1 Like
KimJiSu
(CheeseStick)
3
Thank you. It was very helpful.
You can pack variables to provide simple containers.
Like for 3 floats use a vector/rotator. Just remember to comment the code.
For this example I orientate based on mouse input yaw (x), pitch (y)
Recoil is essentially moving the mouse.
system
(system)
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.