I’ve been working on a grab mechanic that uses BodyVelocity. Currently, I’ve made it all in a local script and haven’t made it server compatible yet. However, when I was testing it I noticed that everything moves on the server too.
Client is left side
Server is right side
^glass moves in the server as well as the client
I was wondering why this happens, as this would be really easy to exploit. Also, is there a way to disable it somehow?
It’s about who is the network owner. Network ownership is automatically transferred between server and clients for unanchored parts unless you explicitly set the owner. This is how vehicles can be so smooth without needing to be locally created.
You can SetNetworkOwner to nil which should prevent it from being automatically set so it won’t change back. Only unanchored BaseParts can have their ownership changed.