Making a part spin without jerking around?
In my game, i have a part which i want to spin around, only problem is, i don't know how to do it.
This is what i've tried doing:
2 | script.Parent.CFrame = script.Parent.CFrame * CFrame.Angles( 0 , Orientation, 0 ) |
3 | if Orientation = = 360 then |
6 | Orientation = Orientation + 1 |
All it does is it makes it spin around, but at increments of over 100 degrees instead of 1 degree, i tried making the wait time slower but that doesn't change the jerky spinning problem, it only makes it jerk around at a slower rate.