Hi ,
I've been working on some on a game server in Unity. And I was wondering how I should handling collision detection.
I'm using TCP at the moment.
I thought I'd write a custom tool , that would find all objects in the game scene. And push that to a file. And let the Server read it out. So it know's where are collision objects are.
Not sure if this is the best approach.
I also wonderd how to handle character movement correctly. My client sends each 100ms a update of he's position (if they moved).
The server sends each 150ms to all clients all positions.
But I want to check if there are players in he's area. But that would be again a lot of calculations for the server.
https://gyazo.com/d233ca0b4673a00eb62331603281cdf9