How to rotate accessory with only use physics


image

It has a problem of rotating in a random direction

Code

-- Enable rotate
HingeConstraint.Enabled = true
WeldConstraint.Enabled = false

-- Disable rotate
WeldConstraint.Enabled = true
HingeConstraint.Enabled = false

Use AngularVelocity instead!