Is there any way to make a part rotate like it would it servo but without servo, only with scripts?
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.
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?
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:
- What constraint to I use to make wheels turn (front wheels) - #2 by 4SHN (His attached picture with HingeConstraint)
- Calculating angle to rotate wheels on a car to face a position - #4 by 0x_7777
- Rotating Wheels: Looking for Best Approach - #8 by clairosbags
I hope this helps, and that all goes well!