Jump to content

Syncked node: setPosition/setEnabled replication efficiency


photo

Recommended Posts

Posted

Hello,

I have a lot of nodes with setPosition/setEnabled syncked, but their position/enabled state rarely changes. What would happen if I was to call setPosition/setEnabled with the same values on every frame? Would this produce a lot of sync messages, or are the message actually sent only if the position/state actually changes?

In other word: should I bother manually checking every frame if something changes (and storing "old" position/state) or just rely on the sync internal optimized mechanism?

Thanks!

Posted

Yes you are right.  the message actually sent only if the position/state actually changes

  • Thanks 1
×
×
  • Create New...