You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a question regarding the usage of the wait_for_tick() function in synchronous mode. After going through the discussion mentioned in #3283 , I understand that it's generally advised not to use wait_for_tick() in synchronous mode. However, I came across a video here, between 0:48 - 2:22, where wait_for_tick() is used in synchronous mode. I'm a bit confused about this discrepancy, and I would appreciate some clarification.
From my understanding, wait_for_tick() should typically be used in asynchronous mode to obtain a snapshot that can be later used in a callback function registered with on_tick(). This allows for handling and processing of the simulation data asynchronously. Could someone please correct me if I'm mistaken?
I'm curious to know if there are specific scenarios where using wait_for_tick() in synchronous mode is acceptable or if there might be any drawbacks or implications of doing so. Any insights or clarification would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
If you want sync mode were; client tick --> server tick --> client tick --> server tick --> client tick, you will need to use wait_for_tick()
if you do not care about syncronization of frames, you can just not use the wait_tick function.
Hi everyone,
I have a question regarding the usage of the wait_for_tick() function in synchronous mode. After going through the discussion mentioned in #3283 , I understand that it's generally advised not to use wait_for_tick() in synchronous mode. However, I came across a video here, between 0:48 - 2:22, where wait_for_tick() is used in synchronous mode. I'm a bit confused about this discrepancy, and I would appreciate some clarification.
From my understanding, wait_for_tick() should typically be used in asynchronous mode to obtain a snapshot that can be later used in a callback function registered with on_tick(). This allows for handling and processing of the simulation data asynchronously. Could someone please correct me if I'm mistaken?
I'm curious to know if there are specific scenarios where using wait_for_tick() in synchronous mode is acceptable or if there might be any drawbacks or implications of doing so. Any insights or clarification would be greatly appreciated.
The text was updated successfully, but these errors were encountered: