How to make a realistic steering wheel

There are a couple ways you can do this.
One of the better options would be to use TweenService, although without an implemented system to override Tweens (you can only do that with GUI elements), you might want to use workarounds or a simpler system.

Here’s two ways you can do this in code:

-- tweening
ts:Create(part, TweenInfo.new(2, Enum.EasingStyle.Linear), {CFrame = part.CFrame * CFrame.Angles(0,math.rad(part.CFrame.Rotation.Y + 90), 0)}):Play()
-- (if you want to pause this then declare it as a variable first and then play it)
-- static turning. works easily with variables and more lag-free but not as a smooth result
local CanTurn = true
for i = 1, 30 do
	if CanTurn then
		part.CFrame *= CFrame.Angles(0,math.rad(90/30),0)
		task.wait(0.05)
	else
		break
	end
end

Hope this helps!

1 Like