I’m trying to make some car crashing stuff, but it’s a bit inaccurate. Would anyone recommend a different approach, I’m just using some parts and using .Touched, on the server.
I’m gonna take a guess and say on client it’d be more accurate, but I’m not sure how the replication would go.
Since it’s a purely visual effect, why not run your destruction client sided? Each player can just handle every other player’s destruction client sided (you can also implement a spatial hash to limit it by distance).
If you’re worried about performance since you’ll be running all of the detection and destruction code client sided, you could fire a remote from the client to the server to tell all other clients what they destroyed?
In case I misinterpreted the post, for hitboxes, .Touched works perfectly fine on the client but if you are looking for safer ways to do it on the server, using spatial queries is also an option.