I’m currently working on improving performance and one of the major issues is the server trying to manage collision of over 50 projectiles at once (In cases of a full 12 player server.)
My main question is: How would I go about making it so projectiles hits are detected if I don’t want the server to be handling collisions and such (Preferably without the risk of exploits.)
Everything from creating and moving the projectile to hitboxes and detecting hits are all managed in server scripts.
They use velocities so they bounce and rebound and I’m trying to avoid letting the server handle the collision for that.
If only I was working on a shooter game, raycasts would be the go-to.
I tried to do it once, it worked. After that, I was stuck on how to manage the hit detection. I tried FastCast once but didn’t know how to continue with it.
I’ll try the method of recasting every hit.