I'm making a multiplayer game. For now, I added a script to towers and I have booleans to change using OnTriggerEnter.
When triggered, client sends a message to server and towers health starts to get lower. So it works.
But I don't know if it's safe to use OnTriggerEnter because it calculates on the client side. Should I calculate on the server side ? And how I do it ? (Using Physics.ComputePenetration is a little bit slow.)