Closed cetusk closed 1 year ago
What's the issue? You cannot set player speed, jump, gravity, etc. on remote players, you can only set it on local players.
@MerlinVR thanks a reply.
Currently I'm not grasping the error details. I only confirmed the attached scripts will stop ( players keep moving ).
Oh I didn't know I can't set ( and get also ? ) force parameters of remote players.
I tried to get position and force parameters, then draw its messages as a debugging view; I uploaded a snapshot when I were testing for alone. When a second player join in this world, the debugging is stop and no text messages are dumped.
You cannot set remote player settings. Getting remote player settings will probably return a local value that's not accurate. If your behaviour crashes it will print to the log.
OK, I understood thanks. I will synchronize each local force parameters and distinct by a player index as an alternative.
Behavior
I wrote a code to get parameters of all joining players, including position and force. Something error happened when I try to get force parameters of other joining players, then all attached scripts will not work. No error for obtaining positions only, in constrast.
I want to dump error log using
try
/catch
semantics but it's not supported..My code ( essential part )
I commented "HERE" in the corresponding line.
Environment