My question is basically asked in the title, but to provide more context:
I have a game with “plots”. In this game, each plot is simulated on the client and then sanity checked on the server for inputs. Obviously we cannot simulate every single plot in the experience, so we use a magnitude check to get plots closest to the player.
However, this magnitude check has no spatial hashing so it iterates through every plot on a 4000x4000 map.
My question is, would it be better to switch to GetPartsBoundsInRadius (spatial query API), or to make my own custom spatial hashing/octree system? (still uses magnitude checks but only from a list of objects which are contained in the nearest 256stud grid)
The main question here is if GetPartBoundsInRadius uses spatial hashing.