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
For convenience reasons ( eg. initialize visual scene/world ) should be usefull a firstSyncReceived/worldSync or something similar , maybe with pre/post addition .
I can execute once 'client__syncReceived' , but a interesting thing can be add diferent params as syncReceived .
Eg.
beforeWorldSync( theFirstSyncData )
onWorldSync( the objectInstancesCreated ) // this implies divide onAddToWorld ( to onCreateRenderEl onAddToWorld )
afterWorldSync() // the instances are added to the world now
The text was updated successfully, but these errors were encountered:
You're correct in that practically in all cases the game engine has "nothing to do" before the first full sync.
but maybe instead of adding to the API we can just make sure that the 'start' for the client game engine only happens after it receives the first full sync.
Was the original purpose, but as you mention some one should be interested on run some "local scene", maybe loading another assets or waiting for connection . So could be diferent things , handle first sync and allow run step before or when first sync .
For convenience reasons ( eg. initialize visual scene/world ) should be usefull a firstSyncReceived/worldSync or something similar , maybe with pre/post addition .
I can execute once 'client__syncReceived' , but a interesting thing can be add diferent params as syncReceived .
Eg.
The text was updated successfully, but these errors were encountered: