2 Hinges On 1 Part

  1. What do you want to achieve? I build a simple bike.

  2. What is the issue? The bike works but when I have a steer hinge on the front wheel the driving on the front wheel doesn’t work nor the steer, but when I delete one of the hinges it works but without the benefits of the other, for example: when I delete the steer the bike can go fast because both back and front wheels rotate, but I can’t steer. When I delete the hinge for driving on the front wheel it can steer but it’s not fast because the front wheel doesn’t rotate too.

  3. What solutions have you tried so far? Searched on devforum

Script for Driving:

local backwheel = script.Parent.Parent.BackWheel
local frontwheel = script.Parent.Parent.FrontWheel
local steer = script.Parent.Parent.Steer

local speed = script.Parent.CarSpeed.Value

script.Parent.Changed:Connect(function()
	backwheel.AngularVelocity = speed * -script.Parent.Throttle
	frontwheel.AngularVelocity = speed * -script.Parent.Throttle
	
	steer.TargetAngle = -60 * script.Parent.Steer
end)
1 Like

Are you sure the frontwheel constraints actuatortype is set to servo and the forces are high enough? I’m assuming you have the actuatortype set to motor, as you are setting the angularvelocity of the front wheel.
Another issue could be the orientations of the attatchments. I know from the times i’ve made a car or similar, the attachments were always the wrong directions and stuff, causing turning not to work.