I’m trying to create a broom that a player can fly however I’ve run into some trouble with client to server physics replication. The script works by creating a controller part on the client which has its rotation changed by user input (on the client), the orientation of the broom itself is aligned with this part’s cframe with the alignorienation constraint (which is also on the client) - when the broom is created on the server the network ownership of the part is set to the player so its physics are replicated to the server.
When I don’t weld my character to the broom on the server the physics replicate, however when I do weld my character they don’t.
creating local linearvelocity or alignorientation causes replication to become confused, thus stopping server from updating your client position at all
i had that similar issue when roblox added linearvelocity i had it added to localscript to do airstrafing, to notice that it does not accept any physics replication.
solution is to have server create instances related to physics. and let client do the rest.
Problem is the other attachment to the constraint is the controller part which is made on the client (so I don’t have to fire a remote event to the server every time to update the orientation)