@@quoted7588 the weird thing is i can make a 5 part car and it works properly but when i do it with a car that i actually NEED TO WORK, it of course doesnt work!
OMG BRO MARRY ME I LOVE U UR SO COOL U, UR THE REASON IM STILL ALIVE, U GAVE ME PURPOSE IN LIFE. I CAN FINNALY SLEEP. YOU PROBABLY LOOK LIKE THE ROCK BUT BUFFER AND HAVE THE MOST HANDSOME FACE EVER. THANK. YOU.
this was a massive help! I have tried other tutorials before and they were either unclear or just didn't work when I tried to build the car multiple times. This video was clear and concise. I had some trouble with the steering function but I just messed up the attachments and I need to rewatch the video.
**Anyone who find the car does not work, Check that your wheels are named "Wheel" and not "Part". This is a fault with the code from pastebin if you used it.
@@busexpert1334 search for the weld parented to either partA or partB, which has the part0 and part1 properties as partA and partB, and delete teh weld. the properties could be switched
I'm so confused. I did everything by the book and the hinges work but the car is lifeless. My vehicles still turn like they did ten years ago and the whole thing crumbles if a weld dare see a weld constraint. I just dont get it. I can't even just put up with classic ride because the whole model unwelds at the sight of a joined surface.
I'm saying when I 1st started I literally just put the weld on the face. I'm fine with change, but it's been day's and all I've got is a game that feels like it's fighting me.
if u need a can give you a model I made [like a base from the tutorial] and u can use that If you like ive even added my own small script features like automatic welding in the right place shake scripts [stop it shaking] ect
I've got the same problem, i'm redoing the connections and ill see what happens (i know this is an old post but you can try right?). EDIT: I tried and it did nothing, might just be a problem on my end but eh whatever, it steers ig.
I found a solution. Under PartB in both of the front wheels, In the Steering Constraints, all the way at the bottom, turning up "ServoMaxTorque" to something like 20 or 25 thousand fixed it for me. I was having the same problem with wobbly wheels too.
@@DtP477 don't do that, that's a stupid and idiotic mistake most beginners do. Make sure you actually know not only what you say but what you do in Roblox Studio instead of blindly following youtube tutorials
if anyone wondering why their car aren't working, check if wheels are named "wheel," and if it doesn't work check if vehicle seat is in the car model, not the chassis
i agree with Michelle, tutorials arent just for copying off of the tutorial and never using the information again, they are for remembering and using the information later on. this tutorial isnt short enough and i cannot remember any of this even at 2x speed.
@@keeryeltetty2901 I don’t know exactly what could be causing that, my advice is just make absolutely sure everything is renamed to the correct thing and all the constraints are in the right direction
This tutorial was extremely useful. One problem I had was that my car would move straight, but won't turn. Turns out that for the constraints, I spelt them incorrectly. And guess what! The little mistake was that there was a space in between steering and constraint. I got rid of the space and the car worked just fine! LOL! Coding is very picky about grammar, so be careful about that!
For some reason the Front wheels of my Car is really wobbly. also is there a way to make it less Slippery? i've tried changing the Friction of the Wheel but it just made it Worse. can anyone Help?
@@Unknown-ni1yd hello! i actually already fixed this problem. i think its because the wheels where spinning in oppisite directions. but still, thank you for your help!
Very useful, everything was described well and no important details were left out Thank you, I can now make my own custom classic-themed vehicles with a real turning mechanism!
This is shit, I've used the tutorial... the car controls are lagged since the seat property getting changed is only registered by the server. Use UserInputService instead
if anyone in the future is having the issue of the front wheels wobbling when driving, enable custom physical properties for both partB's and set density to around 30 (you can play around with the value) and the wheels should stop wobbling
Hi! I had a quick question on something. Ive followed the modeling to a T, n the script is directly from the pastebin. But while the steering works, driving wont. Nothing is anchored nor do parts a & b have collision on. Alongside that, im getting an error message in my output that reads "Wheel is not a valid member of Model "Workspace.Car.FrontLeft" - Server - Script:18". was just wondering what could possibly be causing this?
"Wheel is not a valid member of Model "Workspace.Car.FrontLeft" " is a pretty self-explanatory error. There is no part within the model "Workspace.Car.FrontLeft" named "Wheel". You need to rename the part.
@@kryddsaltetim not exactly sure which part i have to rename as wheel though. it happens even if i duplicate the front right wheel, or i model it separately. always the left front. I've troubleshooted with renaming already but i'll try again and see if it works.
I tried this tutorial it doesn't work when I try to drive it instead of moving wheels left or right or forward or back it will move the parta and partb blocks instead does anyone know how to fix this
at 5:16 in the video under the hinge section it said acuator type, thats not showing up it just gives me under hinge, limits enabled, and when its checked it gives me restitution, no where it says motor or anything
I go to school and get a corrupted education The time I spent here's left me yearning for vacation These notebooks that I seek They are my key to liberty I think the teacher might be somewhat psychopathic Can't even figure out his bAsIc mathematics Incomprehensible Close to impossible And as I get his problems incorrect, He directs... I hear every door you open And i know just where you're goin You're failing again and again My ruler's locked and loaded With my ulterior motives Think you can make it to the weekend? Better get out while you can! Get out while you can! The retributive rhythm of the metronomic master, It echos through the halls... I think its getting FASTER! Trying to get ahead, but i just get detention Each step is filled with dread He's paying close attention Freedom sounds so sublime but now it's sweeping time And as I do my very best, He still says: I hear every door you open Did you say my system's broken? Pathetic that you can't understand Everything you're doing brings you closer to your ruin Don't think there ain't no consequences Get out while you still can! Oh, I remember preschool, Back when we always played It's dire times like these I wish i could have stayed At least i get to jump rope... but it's just not the same She stops me in my tracks, And it makes me go insane He gets closer And closer... And closer! OH OH THAT'S ME THAT'S ME THAT'S ME THAT'S ME MEEEE ME, ME THAT'S ME OH OH THAT'S ME THAT'S ME THAT'S ME THAT'S ME MEEEE He hears every door I open, And he knows just what I'm doing And I can't start this over again His ruler's locked and loaded, With his ulterior motives I'll never make it to the weekend GET OUT WHILE YOU STILL CAN! THAT'S ME THAT'S ME THAT'S ME THAT'S MEEEE OH THAT'S ME THAT'S ME THAT'S ME THAT'S MEEEE (STAY, STAY AWAY FROM ME!) OH THAT'S ME THAT'S ME THAT'S ME THAT'S MEEEE OH THAT'S ME THAT'S ME THAT'S ME THAT'S MEEEE It's me...
This is because the tutorial didn't tell you to change the name of the wheels to "Wheel", which is what is in the script. To solve this, you can rename each wheel to "Wheel" or change each instance of "Wheel" in the throttle function to "Part".
idk why every tutorial wont work i have all correct but i sit in vehicle seat and it not working holding w nothing holding s nothing holding d nothing holding a nothing idk what to doo
Best thing to do is to tweak it yourself and understand Lua to make the code work for your car, since different things in the game may affect it or maybe your properties are wrong and something is anchored. Also in this video he never said to weld anything but click "join surfaces" which will affect everything in game, so I am doing tweaking myself, including adding welds which he never specified.
my whole car broke just because i didn't see the 2 Hyphens in the script lol Thank you so much bud making cars is from the funniest thing i like to do in studio I appreciate your work to make this tutorial.
didnt help too much, its still slippery. but now it turns faster, so thanks i guess??? oh wait nvm this did help i just realized i forgot to put the minuses in the code so thats a different issue, thanks!
Hi, I’m just wondering if you could do a tutorial on how to make wheels spin without like the wheel being the main source. So like for wheels on a planes landing gear. They only spin when the plane is pushed by thrust. Is there a way to create that system. I’ve seen it in many aircraft games and can’t figure out how to do it
this HINGE part really confused me you said do the outside first then click the middle on part A and it just kept going off my screen this video was 2 years ago and im curently trying this in late 2024 so is that why? i fallowed every step have already tried it twice
quick question how do i add a part to the chassis? like a "door model on the car" just join surface on the Chassis? Also add a roof that you can jump out of without bumping into it and the doors please!!!!!!!!
i know im not the guy your asking but i can help you for the roof thing, you can disable collisions of the roof by disabling collisions in the properties tab, there is a checkmarked box with "can collide" next to it, then just click the box to make it look gray.
thanks so much for this tutorial man! it was extremely useful, simplistic, and works great for a start of a car :D however-- i, much like a few others in the comments had a problem with the code as well, where i could steer but not actually move forward. basically what the problem was, was that i didn't name the part "wheel". so when it went back to reference "Wheel.WheelConstraint.AngularVelocity" etc, it came back with an error saying that "Wheel" was not a part of "frontLeft". so instead i replaced it with the word "part" to accomodate. also, specifically for me i had a problem with line 19, where i had typed, "...AngularVelocity = speed*seat - seat.Throttle" rather than "...AngularVelocity = speed*-seat.Throttle", this was my personal problem though and probably just a typo of my own. but this code worked for me! so hopefully it'll work for you guys too! :) main lesson: just check your output regularly guys! here's my personally edited code, if you named the part "wheel" then ignore it being labeled as "part" in this instance and just rename it. | V local seat = script.Parent.VehicleSeat local backLeft = script.Parent.BackLeft local backRight = script.Parent.BackRight local frontLeft = script.Parent.FrontLeft local frontRight = script.Parent.FrontRight local steerAngle = 30 local speed = 60 seat:GetPropertyChangedSignal("Steer"):Connect(function() frontLeft.PartB.SteeringConstraint.TargetAngle = steerAngle*seat.Steer frontRight.PartB.SteeringConstraint.TargetAngle = steerAngle*seat.Steer end) seat:GetPropertyChangedSignal("Throttle"):Connect(function() frontLeft.Part.WheelConstraint.AngularVelocity = speed*seat.Throttle frontRight.Part.WheelConstraint.AngularVelocity = speed*-seat.Throttle
To anyone with the hinge problem: You need to connect the part to a CYLINDER for some reason, else it won't work. If you have connected a cylinder with part, then you can connect two block parts with hinge.
I've looked over everything and It still wont work. The car is fully assembled correctly, and can even get 1 bit of speed for a second when spamming back and fourth, but it wont constantly go forward. Can somebody help?
So complicated now when all you had to do before was add a yellow axle
For REAL.
You can still just add a yellow hinge to the wheels and make a simple car, but the wheels won't turn
Yeah, you can make a simple car with the f3x building tools plugin.
@@quoted7588 the weird thing is i can make a 5 part car and it works properly but when i do it with a car that i actually NEED TO WORK, it of course doesnt work!
This one allows for more flexible customization, including realistic steering and drivetrain
Tech insider out here giving us the information we need for a successful life
Lol
@Bluegenic yeah i watch him
Of dude sitting in basement and making goofy game about spider train
Tf when did i comment this
@@Rantasalmi47 moods ive felt
--For the people who would rather copy and paste
local seat = script.Parent.VehicleSeat
local backLeft = script.Parent.BackLeft
local backRight = script.Parent.BackRight
local frontLeft = script.Parent.FrontLeft
local frontRight = script.Parent.FrontRight
local steerAngle = 30
local speed = 60
seat:GetPropertyChangedSignal("Steer"):Connect(function()
frontLeft.PartB.SteeringConstraint.TargetAngle = steerAngle * seat.Steer
frontRight.PartB.SteeringConstraint.TargetAngle = steerAngle * seat.Steer
end)
seat:GetPropertyChangedSignal("Throttle"):Connect(function()
frontLeft.Wheel.WheelConstraint.AngularVelocity = speed * seat.Throttle
frontRight.Wheel.WheelConstraint.AngularVelocity = speed * -seat.Throttle
backLeft.Wheel.WheelConstraint.AngularVelocity = speed * seat.Throttle
backRight.Wheel.WheelConstraint.AngularVelocity = speed * -seat.Throttle
end)
ty
bruh thx sooo much I tried to type it on my own and it did not work. And when I used urs it worked fine. thx again
DUDE I LOVE YOU SO MUCH
Dude, they had pastebin link in their desc
@@ToasterOvenYT Dude, they had pastebin link in their desc
Guys make sure to name the Wheel parts "Wheel" or the motor to make your car move will not work with the script.
THANK YOU SO MUCH! That's why it wasn't working!
omg thank you so much
OMG BRO MARRY ME I LOVE U UR SO COOL U, UR THE REASON IM STILL ALIVE, U GAVE ME PURPOSE IN LIFE. I CAN FINNALY SLEEP. YOU PROBABLY LOOK LIKE THE ROCK BUT BUFFER AND HAVE THE MOST HANDSOME FACE EVER. THANK. YOU.
Thank You!!! Working
still not working
this was a massive help! I have tried other tutorials before and they were either unclear or just didn't work when I tried to build the car multiple times. This video was clear and concise. I had some trouble with the steering function but I just messed up the attachments and I need to rewatch the video.
**Anyone who find the car does not work, Check that your wheels are named "Wheel" and not "Part". This is a fault with the code from pastebin if you used it.
I did that and it still does work
Thanks! This made mine work, before all it could do was stand still and turn the front wheels.
Ty so much... this really work for me.
Thanks, this fixed it.
Thank you
When trying to do the hinge part and connect it to part A It wasn't working.
Exactly
it is most likely because part A and part B were welded together.
@danielsonderegger530 how do you fix that
@@busexpert1334 search for the weld parented to either partA or partB, which has the part0 and part1 properties as partA and partB, and delete teh weld. the properties could be switched
delete the weld on part b
So they finally decided to make useful videos, nice.
I'm so confused. I did everything by the book and the hinges work but the car is lifeless. My vehicles still turn like they did ten years ago and the whole thing crumbles if a weld dare see a weld constraint. I just dont get it. I can't even just put up with classic ride because the whole model unwelds at the sight of a joined surface.
I'm saying when I 1st started I literally just put the weld on the face. I'm fine with change, but it's been day's and all I've got is a game that feels like it's fighting me.
the same thing happends to me, can you tell me how fix it?
if u need a can give you a model I made [like a base from the tutorial] and u can use that If you like ive even added my own small script features like automatic welding in the right place shake scripts [stop it shaking] ect
I've got the same problem, i'm redoing the connections and ill see what happens (i know this is an old post but you can try right?).
EDIT: I tried and it did nothing, might just be a problem on my end but eh whatever, it steers ig.
@@finnheron1001 I’m gonna make a video soon to help people with this issue as it seems to be a big problem
if you cant attach a hinge constraint to any parts, you may need to delete the parts' weld, then attach the hinge
thanks, i spent the last 30 min trying to figure it out.
Thanks Tech Insider! Very Cool!
I think you should make a copy and paste script for lazy people like me.
there is a pastebin link in the description
Or you can actually learn by writing the script along with the video.
Yeah
@AdisTonest yeah no that wont work
9
True
For those saying that it sounds like AlvinBlox, it actually is alvinblox. You can see that his name is literally under the Producer. 8:22
4:02 wheel said bye 😂
what do i do if my wheels are wobbly? i have followed the tutorial as accurately as possible can some please reply if they have a solution!!
I found a solution. Under PartB in both of the front wheels, In the Steering Constraints, all the way at the bottom, turning up "ServoMaxTorque" to something like 20 or 25 thousand fixed it for me. I was having the same problem with wobbly wheels too.
@@DtP477 Its not working for me.
@@microvive30 just keep changing the settings until something changes. That’s was worked for me, Also make sure that massless is checked.
@@DtP477 don't do that, that's a stupid and idiotic mistake most beginners do. Make sure you actually know not only what you say but what you do in Roblox Studio instead of blindly following youtube tutorials
I did everything the video said, but for some reason my car doesnt go foward the wheels turn and stuff but it doesnt go foward when i press W
I have the same problem
Change the name of all the wheels from "Part" to "Wheel"
@@JJcool9 i have the same problem as this guy, i did that but it still won't work
Thank u so much. I can finnaly update my car gasme
cool job dude
can i try ur car game
if anyone wondering why their car aren't working, check if wheels are named "wheel," and if it doesn't work check if vehicle seat is in the car model, not the chassis
Other tutorials are like around 15 Minutes and hard, But this one is short and Easy. Thank you!
how am i supposed to remember how to do this this isnt even short
i agree with Michelle, tutorials arent just for copying off of the tutorial and never using the information again, they are for remembering and using the information later on. this tutorial isnt short enough and i cannot remember any of this even at 2x speed.
@@Fidumo disagree, i was able to remember every single step in this video in one watch
Most clear examples, thanks ❤
IT WORKS!!! AT LAST!!!! Thanks for making a clear, easy to follow tutorial :)
My car isnt accelerating...
@@keeryeltetty2901 I don’t know exactly what could be causing that, my advice is just make absolutely sure everything is renamed to the correct thing and all the constraints are in the right direction
@@jozhieproductions i did everything correctly but its not working
@@Flynn0765 I have the same problem but I just noticed that the one of the front and one of the back constraints are in the wrong direction
mine wont move :( ive checked everything
This tutorial was extremely useful. One problem I had was that my car would move straight, but won't turn. Turns out that for the constraints, I spelt them incorrectly. And guess what! The little mistake was that there was a space in between steering and constraint. I got rid of the space and the car worked just fine! LOL! Coding is very picky about grammar, so be careful about that!
The wheels are rapidly shaking left and right like its steering for me in a direction but changes every second, what do I do, can someone please help?
thats the same for me
@@epicstalgiaUK_epic if ur wheels are not steering smootly use seat.SteerFloat
Thank you so much for making this! Your video helped me out a lot. :)
How do I get the hinges to work? When I click nothing happens
its so complicated, just import an A-Chassis and move the body on it. Its very simple and beautiful.
that's not the same.
this is one of the best roblox tutorials i've ever watched
I ran into a problem where the car starts to spin when I press w or s and idk how to fix it
change the steerangle lower
For some reason the Front wheels of my Car is really wobbly. also is there a way to make it less Slippery? i've tried changing the Friction of the Wheel but it just made it Worse.
can anyone Help?
Do you have a additional hinge or hinge in an incorrect position? That may be you problem
@@Unknown-ni1yd hello! i actually already fixed this problem. i think its because the wheels where spinning in oppisite directions. but still, thank you for your help!
2:20 I try to add a hinge and literally nothing happens at all
I know mine neither
delete the part welds first
if u wanna add parts to the car like build it up put weld constraints in the chassis and then connect them to every part
for 2:30 i click the first which works but when i try click the 2nd it doesn't work like yours did any reason why?
Very useful, everything was described well and no important details were left out
Thank you, I can now make my own custom classic-themed vehicles with a real turning mechanism!
This is shit, I've used the tutorial... the car controls are lagged since the seat property getting changed is only registered by the server.
Use UserInputService instead
@idk idk if you follow the instructions properly, they should turn when you press A or D
@@verticalhamburger9517 i seem to be stuck on the turning part.
nvm i got it.
@@somerandomgentleman Do you have join surfaces on? It's a check box near the main tools like move, rotate, etc
i tried to make a car at 2:28, but it didnt work. something is wrong with the hinge constraint thingy. please tell how to fix it
tech insider is teaching us stronger than schools
frfr
frfr but my car won't turn
Mine works but is super slippery and the ground has like no friction at all. What should I do?
increase FrictionWeight in the properties tab
duplicate the chassis name it any name you want and place it like a door or a roof for the car
Alvin blox?
Thanks
if anyone in the future is having the issue of the front wheels wobbling when driving, enable custom physical properties for both partB's and set density to around 30 (you can play around with the value) and the wheels should stop wobbling
Hi! I had a quick question on something. Ive followed the modeling to a T, n the script is directly from the pastebin. But while the steering works, driving wont. Nothing is anchored nor do parts a & b have collision on. Alongside that, im getting an error message in my output that reads
"Wheel is not a valid member of Model "Workspace.Car.FrontLeft" - Server - Script:18".
was just wondering what could possibly be causing this?
"Wheel is not a valid member of Model "Workspace.Car.FrontLeft" " is a pretty self-explanatory error. There is no part within the model "Workspace.Car.FrontLeft" named "Wheel". You need to rename the part.
@@kryddsaltetim not exactly sure which part i have to rename as wheel though. it happens even if i duplicate the front right wheel, or i model it separately. always the left front. I've troubleshooted with renaming already but i'll try again and see if it works.
@@samusfan2334 The actual wheel should be named "Wheel". The cylinder.
That just means it cannot find the wheel so it is in an incorrect place
tip: change wheel material to rubber to make it more accurate, this changes how much friction it has so it wont slide as much
Chad content right here bois
I tried this tutorial it doesn't work when I try to drive it instead of moving wheels left or right or forward or back it will move the parta and partb blocks instead does anyone know how to fix this
I knew this guy was alvin blox lol.
Also make to put it all toghether before testing lol I had to figure that out
Why’s this tutorial so neat 🔥
at 5:16 in the video under the hinge section it said acuator type, thats not showing up it just gives me under hinge, limits enabled, and when its checked it gives me restitution, no where it says motor or anything
I go to school and get a corrupted education
The time I spent here's left me yearning for vacation
These notebooks that I seek
They are my key to liberty
I think the teacher might be somewhat psychopathic
Can't even figure out his bAsIc mathematics
Incomprehensible
Close to impossible
And as I get his problems incorrect,
He directs...
I hear every door you open
And i know just where you're goin
You're failing again and again
My ruler's locked and loaded
With my ulterior motives
Think you can make it to the weekend?
Better get out while you can!
Get out while you can!
The retributive rhythm of the metronomic master,
It echos through the halls...
I think its getting FASTER!
Trying to get ahead,
but i just get detention
Each step is filled with dread
He's paying close attention
Freedom sounds so sublime
but now it's sweeping time
And as I do my very best,
He still says:
I hear every door you open
Did you say my system's broken?
Pathetic that you can't understand
Everything you're doing brings you closer to your ruin
Don't think there ain't no consequences
Get out while you still can!
Oh, I remember preschool,
Back when we always played
It's dire times like these
I wish i could have stayed
At least i get to jump rope...
but it's just not the same
She stops me in my tracks,
And it makes me go insane
He gets closer
And closer...
And closer!
OH OH
THAT'S ME
THAT'S ME
THAT'S ME
THAT'S ME
MEEEE
ME, ME
THAT'S ME
OH OH
THAT'S ME
THAT'S ME
THAT'S ME
THAT'S ME
MEEEE
He hears every door I open,
And he knows just what I'm doing
And I can't start this over again
His ruler's locked and loaded,
With his ulterior motives
I'll never make it to the weekend
GET OUT WHILE YOU STILL CAN!
THAT'S ME
THAT'S ME
THAT'S ME
THAT'S MEEEE
OH
THAT'S ME
THAT'S ME
THAT'S ME
THAT'S MEEEE (STAY, STAY AWAY FROM ME!)
OH
THAT'S ME
THAT'S ME
THAT'S ME
THAT'S MEEEE
OH
THAT'S ME
THAT'S ME
THAT'S ME
THAT'S MEEEE
It's me...
Why
Every Door by CG5.
3:04 not 3 cylinders, 4 CYLINDERS!
it's 3, he added 1 so he added 3 more
The wheels turn for me but it doesnt drive
same :(
This is because the tutorial didn't tell you to change the name of the wheels to "Wheel", which is what is in the script.
To solve this, you can rename each wheel to "Wheel" or change each instance of "Wheel" in the throttle function to "Part".
@@chickwensrule thank you
@@chickwensrule thank you very much. My car is working now thx to you
Thx
idk why every tutorial wont work i have all correct but i sit in vehicle seat and it not working holding w nothing holding s nothing holding d nothing holding a nothing idk what to doo
Best thing to do is to tweak it yourself and understand Lua to make the code work for your car, since different things in the game may affect it or maybe your properties are wrong and something is anchored. Also in this video he never said to weld anything but click "join surfaces" which will affect everything in game, so I am doing tweaking myself, including adding welds which he never specified.
Would've been helpful if he did the coding on cam instead of
off cam considering I'm extremely new to coding.
Im new too also im making a cart gamE!
same here
what are those dots in coding? 6:51
it his plugin
dont put dots
@@Heatwave111 what are plug-ins if you don’t mind explaining
These are spaces
local seat = script.Parent.VehicleSeat
local backLeft = script.Parent.BackLeft
local backRight = script.Parent.BackRight
local frontLeft = script.Parent.FrontLeft
local frontRight = script.Parent.FrontRight
local steerAngle = 30
local speed = 60
seat:GetPropertyChangedSignal("Steer"):Connect(function()
frontLeft.PartB.SteeringConstraint.TargetAngle = steerAngle * seat.Steer
frontRight.PartB.SteeringConstraint.TargetAngle = steerAngle * seat.Steer
end)
seat:GetPropertyChangedSignal("Throttle"):Connect(function()
frontLeft.Wheel.WheelConstraint.AngularVelocity = speed * seat.Throttle
frontRight.Wheel.WheelConstraint.AngularVelocity = speed * -seat.Throttle
backLeft.Wheel.WheelConstraint.AngularVelocity = speed * seat.Throttle
backRight.Wheel.WheelConstraint.AngularVelocity = speed * -seat.Throttle
end)
How do you hing it, it just doesnt hinge
Wow this was very insightful, just the thing I need to be successful
why i cant place the second location for the hinge
idk
you sound so much like alvinblox wth
Yup it's alvinblox
my whole car broke just because i didn't see the 2 Hyphens in the script lol
Thank you so much bud making cars is from the funniest thing i like to do in studio I appreciate your work to make this tutorial.
thank you for telling, i missed that too lol
it keeps saying 13:59:32.940 Wheel is not a valid member of Model "Workspace.Car.FrontLeft" - Server - Script:18
If the card seems to slide to much i would enable "Custom Physics" on the wheels and set "Friction" to 0.8
Small hint from a roblox dev (;
thanks bro 👍
didnt help too much, its still slippery. but now it turns faster, so thanks i guess???
oh wait nvm this did help i just realized i forgot to put the minuses in the code so thats a different issue, thanks!
Thanks it worked :)
2:27 why can't I click the hinge in partA
you need to hold shift
Ok. Tysm@@recdevyt968
@@recdevyt968 No its dont work
Mines not working, the front left wheel is not turning right, and it’s not moving forward
change the hypens
ah yes exactly what i needed
6:14 How did you do that?
you shift and click on the item
ctrl+g
Hi, I’m just wondering if you could do a tutorial on how to make wheels spin without like the wheel being the main source. So like for wheels on a planes landing gear. They only spin when the plane is pushed by thrust. Is there a way to create that system. I’ve seen it in many aircraft games and can’t figure out how to do it
my steerng wiggles so much, does anyone know why?
it works but it does not won't to move
same
rename the4 wheels part "wheel"
@@stephaniekemp395 rename the4 wheels part "wheel"
XD its a much better system than the one i created it was very helpful and understandable ty man.
something i didn't know i needed to learn
I know how to script full on 2D platformers yet I still don't how to make a vehicle.
roblox vehicles are weird.
Its been years since I ever saw a tutorial for roblox. Imma give you this one guys 😂
If part A falling down create a weld
The wheels are strangely not attached to the body. I am certain the properties are right, though.
have you resolved this problem? im having the same issue and would enjoy some advice. thank you
@@solenaisaac820 still need some help?
me too
y'all haven't put joinsurface on
this HINGE part really confused me you said do the outside first then click the middle on part A and it just kept going off my screen this video was 2 years ago and im curently trying this in late 2024 so is that why? i fallowed every step have already tried it twice
quick question how do i add a part to the chassis? like a "door model on the car" just join surface on the Chassis? Also add a roof that you can jump out of without bumping into it and the doors please!!!!!!!!
I recommend you to use a chassis
i know im not the guy your asking but i can help you for the roof thing, you can disable collisions of the roof by disabling collisions in the properties tab, there is a checkmarked box with "can collide" next to it, then just click the box to make it look gray.
@@tennesean_man ty
Do you anchor it or not because she I don’t anchor it, it falls apart and when I do anchor it, it’s still and doesn’t work
thanks, I really needed this for the skateboard I'm making
Its not working. I've tried more than 30 times but failed to succeed. Pls tell what to do. The car is not picking speed.
thanks so much for this tutorial man! it was extremely useful, simplistic, and works great for a start of a car :D however-- i, much like a few others in the comments had
a problem with the code as well, where i could steer but not actually move forward. basically what the problem was, was that
i didn't name the part "wheel". so when it went back to reference "Wheel.WheelConstraint.AngularVelocity" etc, it came back with an error saying that "Wheel" was not a part of "frontLeft". so instead i replaced it with the word "part" to accomodate. also, specifically for me i had a problem with line 19, where i had typed, "...AngularVelocity = speed*seat - seat.Throttle" rather than "...AngularVelocity = speed*-seat.Throttle", this was my personal problem though and probably just a typo of my own. but this code worked for me! so hopefully it'll work for you guys too! :)
main lesson: just check your output regularly guys!
here's my personally edited code, if you named the part "wheel" then ignore it being labeled as "part" in this instance and just rename it.
|
V
local seat = script.Parent.VehicleSeat
local backLeft = script.Parent.BackLeft
local backRight = script.Parent.BackRight
local frontLeft = script.Parent.FrontLeft
local frontRight = script.Parent.FrontRight
local steerAngle = 30
local speed = 60
seat:GetPropertyChangedSignal("Steer"):Connect(function()
frontLeft.PartB.SteeringConstraint.TargetAngle = steerAngle*seat.Steer
frontRight.PartB.SteeringConstraint.TargetAngle = steerAngle*seat.Steer
end)
seat:GetPropertyChangedSignal("Throttle"):Connect(function()
frontLeft.Part.WheelConstraint.AngularVelocity = speed*seat.Throttle
frontRight.Part.WheelConstraint.AngularVelocity = speed*-seat.Throttle
backLeft.Part.WheelConstraint.AngularVelocity = speed*seat.Throttle
backRight.Part.WheelConstraint.AngularVelocity = speed*-seat.Throttle
end)
This helped!
sweet! @@Bu1ld3r_B0B
ay tysm bro 😁
Tysm
I'm having the opposite problem where I can move but I can't steer
what are those big orange dots. 7:22
Ok this is useful
my car is not anchored and breaks when I try it. Whats wrong?
Make sure the welds exist.
My car steers but the throttle doesn't work
Edit: It's working now, I forgot to change the name of the wheels from "Part" to "Wheel"
THANK YOU
you saved me
no problem ;D glad to help
hinge does not work for me
Yea for me to. How can i fix it?
It Didn't Work😠
womp womp
@@nomingerelturuu29613 years, to 7 months, to 3 days
it's out dated it's 2 years old
To anyone with the hinge problem: You need to connect the part to a CYLINDER for some reason, else it won't work. If you have connected a cylinder with part, then you can connect two block parts with hinge.
it still doesn't work
@@Trumblz remove weld from both parts B and it should work
thank you so much insider
First
bro what is script is?
i know script but what word for?
no help vary bad dis like
HOW DO YOU MAKE THE WHEELS STOP SHAKING btw nice vid it works
Am i the only one who knows this video is from alvinblox??
I can now be in peace, knowing that i made a working car, Awesome tutorial!
How do I add and change the keybinds, so like the there would be Shift and Ctrl controls and E and Q controls
What if i want to full customize ??
I've looked over everything and It still wont work. The car is fully assembled correctly, and can even get 1 bit of speed for a second when spamming back and fourth, but it wont constantly go forward. Can somebody help?
rename all cylinders to Wheel if its not moving
I did and it still doesn't work
thank you so much i wanna make a driving game so bad