How to make a servo type thing with scripts?

Is there any way to make a part rotate like it would it servo but without servo, only with scripts?

1 Like

You could apply AngularVelocity, or use the part’s RotVelocity property, or do something with orientation/CFrames if you wanted to. Is there something in particular you want to create without using a servo? Perhaps that could narrow down your options to what’d be best.

1 Like

I wanted to make the front wheels rotate when the player is steering

Ah okay. Do you mean have the wheels of the vehicle rotate forward to create velocity? Or left and right for steering? And by the way, I’m just wondering, is there a reason you don’t want to use a servo?

1 Like

I want wheels to rotate left and right, and I don’t want to use servo because it’s not very good for my car suspension

I might try servo, but it would take some time, I wonder if there’s an easier way to do that

Ohh okay. I thought you meant rotate something like having wheels turn forward/backward. In that case, maybe you’d want to use something like a HingeContraint and one of it’s properties to rotate the wheel(s). I’m not really sure myself about how rotating wheels could be implemented, but here’s some posts:

I hope this helps, and that all goes well!

1 Like