Using hinges to rotate platforms, client-sided

Greetings! This might be a silly question but I can’t find anything on the devforum with my specific issue.
So, I have an obby with rotating platforms.

A LocalScript on each client creates a hinge so the part can be smoothly rotated and drag the player with it (since hinges are affected by physics). The issue is, from what I see, the part only rotates when the player is standing on it, probably due to network ownership.

Are there any solutions to this other than cloning the part on the client and rotating that instead? That seems like a dirty trick but I don’t know if that’s the correct way of doing it.

2 Likes

iirc traditional constraints are simulated on the server then replicated to the client. However if a client changes a property of the constraint that will replicate to everyone else. If you want to rotate a platform with a hinge without a motor you want to use a cylindrical constraint with a spring pulling it down to its base (this is how we rig cars). we need the cylindrical constraint to provide movement and we need the spring to keep it from running from us.

1 Like