Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Does MLAPI use spatial parititioning algorithms ?

Discussion in 'Netcode for GameObjects' started by GameSire, Nov 24, 2021.

  1. GameSire

    GameSire

    Joined:
    Aug 5, 2019
    Posts:
    21
    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:
    14
    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.