microsoft / mixed-reality-extension-sdk

The Mixed Reality Extension SDK enables developers to build 3D world extensions for AltspaceVR, using Node.JS.
MIT License
142 stars 61 forks source link

Particle effects on Library object don't sync #428

Open scm2217 opened 5 years ago

scm2217 commented 5 years ago

Particle systems on library objects do not sync between multiple users.

eanders-ms commented 5 years ago

Unsure exactly what you mean. Can you add detail? In what way are they not synced?

scm2217 commented 5 years ago

The state of the particle system. I can come by and show you

scm2217 commented 5 years ago

Oh heard you are PTO today. The effect is correctly spawned at the correct transform position but does not sync as it moves since the individual particles do not have transforms to sync. Not sure much work it would be to sync the particle systems.

stevenvergenz commented 5 years ago

This is probably a wontfix. As you say, particles have no transform to sync, and even if they did it would probably brown out the network to send them fast enough. Another alternative could be to deterministically generate the individual particle animations, seeded from some kind of network time. That would be all Unity work though, nothing in the SDK.

sorenhan commented 4 years ago

Agree - we will not fix this by actually synchronizing any deeper into the library actors. I do hope that when we implement #62, as that would enable a relative start time to be passed from the client library to the host app, and the host app will have the ability to offsetting library actors the time. I'm not sure how AltspaceVR would actually use that to offset into the particle systems, though.