I am using Godot server as explained in the tutorial, but I'm struggling with collision checks. I have multiple players that move in the scene and multiple projectiles. As I don't want to trust clients for cheat prevention reasons, I'm trying to handle collisions server-side.
The problem is I don't want to instanciate the whole scene server-side. It seems very resource-consuming. I have the same problem with player movement. How am I supposed to check for collision and/or correct movement speed without duplicating the code from client to server?
Thanks for your answers.