Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-2

How can I make my constraint vehicle like a normal roblox hinge car?

Asked by 7 years ago
Edited by OldPalHappy 7 years ago

You know how when you put 4 wheels with basic hinges on them on a car with no turning wheel, and it has turning like a tank. How can you do this with a constraint version, I know ive watched the roblox video on how to do it, but they made a turning wheel. I tried to do it my self, like making

if seat.throttle == 0 and if seat.steer == 1 then

or

local function onChanged(property)
    if seat.throttle == 0 and seat.steer == 1 then
        lwheel.HingeConstraint.AngularVelocity = 0
        rwheel.HingeConstraint.AngularVelocity = maxspeed * seat.Throttle

lwheel and rwheel are my wheels btw

Answer this question