oculus-samples / Unity-Movement

Body, Eye and Face Tracking code sample.
Other
278 stars 47 forks source link

I cant setup this SDK for multiplayer. I need special help. #81

Closed Robostep21 closed 3 months ago

Robostep21 commented 4 months ago

Im using Photon Fusion2 and this SDK on Oculus Quest 3. изображение_2024-07-12_172839924

andkim-meta commented 4 months ago

Hello, we can provide some advice for setting up Movement SDK for multiplayer. We suggest networking the final pose after retargeting and constraints, and optimizing the serialized pose before sending it. Additionally, consider implementing interpolation when applying the received pose to the receiving client. You can remove all other components except for the one responsible for deserializing the data on the player's side and simply update the character with the received pose. The pose data should be compressed and sent at a reasonable update rate, using networking optimization techniques. An article that explains some techniques can be found here: https://gafferongames.com/post/snapshot_compression/. For information about how to use Photon Fusion 2, please refer to their tutorials: https://doc.photonengine.com/fusion/current/tutorials/host-mode-basics/overview. To summarize, the host performs all logic to make the character move, while the client has only the skinned mesh that is driven by the result of the host's work.

github-actions[bot] commented 3 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.