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

How to use motors to make an object continuously spin?

Hello. I am trying to have a part spin continuously with motors without having to constantly change the "goal" value. Does anyone have any ideas on how I could do that? I have tried using motors, I have tried motor6D, nothing is working. If anyone could help I would greatly appreciate it.

4 comments

0

why not use a bodygyro

0

Idk, I thought rotation would be easier. It also needs to be able to stay unanchored because it will be weilded to a moving object

0

well then u would need to rotate the weld wouldnt you?

0

Nope. Thats what constraints are for

1 answer

Don't question the script, just put it in a part (or union) that you want to spin, the part (or union) must be anchored (obviously), ;)

sphere = script.Parent
a = 0
repeat
sphere.Rotation = Vector3.new( 0, a, 0)
wait(.01)
a = a+3
until pigs == 1

7 comments

0

That would not work to the tiniest bit

0

Pigs is undefined

0

I also need it to be using a motor

0

pigs is undefined that means it will go forever

0

that was a dumb answer

0

no offense

0

Facts

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