Help making part spin in same direction regardless of orientation

I used to know how to do this but it’s escaped my mind. The alarm (screenshot attached) has a part in the middle which spins while a BodyAngularVelocity is active inside it, no problem, however, when the alarm is rotated (as it will have to be to be attached to walls) the part in the middle still spins as if it were upright. How can I make sure this doesn’t happen, ideally with a script that detects and corrects the velocity?
image

That’s odd, body angular velocities are meant to work relative to the part they’re affecting.
Maybe you could use a constraint with a motor instead and just change the speed there

1 Like

You were right, it turns out I had messed up something else in my testing. The BodyMovers are behaving as they are supposed to. Thanks for the assistance!

1 Like