Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do you detect if a part is spinning?

Is there any way to detect a spinning part, like a hamster wheel for example? Also is there any way to detect how far a part has spun?

4 comments

0

you spin me right round baby right round like a record baby right round right round

0

wut

0

you could detect when its .Orientation changes and as far as tracking how far that would be a lot of math

0

If you use a hinge it includes the rotation speed.

1 answer

✓ Accepted answer

I mean, I can give a logical answer, not a script.

Basically you just have to record the old position and compare it to the current position with a little delay, basic as that, you can detect if it's moving. Another thing you can do is estimate the current position with how much movement it does and see if the old position and that match up.

If this doesn't work, please do not down vote me

This discussion is preserved as it was. New answers, comments, and votes are closed.