I’m trying to make a wheel that spins utilizing a hinge constraint, my current method is using an angular velocity with a hinge constraint. This option seemed to work perfectly until I realised that the wheel tends to lag behind:
if you know how I can fix this or possibly any different methods to rotate the wheel it’d be greatly appreciated.
maybe this lag is caused by differences in network ownership? try strictly setting the wheel’s network owner to the player holding the barrel (you cant change the network owner from the client)
I’ve tested on the server with no clients, the issue appears to be due to the fact that hinge constraints don’t instantly set the position of the part.
yeah ive noticed the physics for HingeConstraints will sometimes seem more janky and can cause the assemblies to separate after one of the assemblies experiences sudden acceleration
Are you waiting a few seconds before testing in studio? Physics seems to be one of the last things to load in.
In places with lots of Constraints I usually have to wait about 10-15 seconds until it loads in completely before checking their operation.
Try using the Motor of the HingeConstraint to spin it instead of the AngularVelocity to see if that helps.