Hi, I’ve been looking around for a while and can’t seem to find a solution, if you know of one please link.
I’ve been trying to activate a hinge constraint through a local script in starter player scripts. when I check the target angle of the hinge constraint it is updating to the correct target angle, but that is not being displayed in the game itself - the hinge is not moving. This hinge does work when using a regular script.
the client must have ownership over parts for them to actually change via physics. You can force changes via scripts or creating the part on the client (for ex. having it in the script and parenting it to workspace)
If the parts being moved are physically simulated on the server, their CFrames can be overridden by the server.
You’ll need to either give the client network ownership of the parts (which would make every other client see what the client with ownership sees) or create client sided duplicates of the part (this way each client would see their own copy of the hinge and the parts it controls).
Here is are resources on ownership:
TL;DR: if you want the client to have ownership you need to set the ownership to that client on the server, and then that client has free control of the physics from their client (i.e. client sided hinges could control the thing).