Search Unity

Does MLAPI use spatial parititioning algorithms ?

Discussion in 'Netcode for GameObjects' started by GameSire, Nov 24, 2021 at 10:52 AM.

  1. GameSire

    GameSire

    Joined:
    Aug 5, 2019
    Posts:
    19
    Hey,

    Does MLAPI use spatial parititioning algorithms to sync wich clients gets messages base on position ? If not, is there a way to extend manager class and implement it on your own ?

    Best regards,
     
  2. cosminunity

    cosminunity

    Unity Technologies

    Joined:
    Mar 4, 2021
    Posts:
    6
    Hey GameSire!

    We are working on an Area of Interest feature, that would allow you to implement a custom Spatial Partitioning Data Structure, like a simple 2D Grid, Quad Tree/ Octree etc. We will also be providing a base default one!


    There is a PR in progress here https://github.com/Unity-Technologies/com.unity.netcode.gameobjects/pull/1394
    You can also read the RFC here. https://github.com/Unity-Technologies/com.unity.multiplayer.rfcs/pull/25

    Greetings
    Cosmin Bararu
    Lead, Netcode Engineering
     
    GameSire likes this.
unityunity