Discord: / discord Patreon: / suphi Donate: www.roblox.com... Song: QR - XXI [NCS Release] Music provided by NoCopyrightSounds Free Download/Stream: NCS.io/XXI Watch: • QR - XXI | Electronic ...
Пікірлер: 405
@kriz84632 жыл бұрын
Hey buddy I found you on the forum and bro, you"re so underrated. You explain things very well which helped me not only with my difficulties, but with my learnings. Thanks mate, keep up the good work!
@5uphi2 жыл бұрын
:)
@anshulkale39992 ай бұрын
Hey what is his username?
@SaleMalesАй бұрын
@@anshulkale3999 who knows
@justanaveragetreeg15542 жыл бұрын
I've been programming for so long and always put off doing vehicles cause I didn't know where to start - needless to say this is a lifesaver, thanks so much hugely appreciated
@5uphi2 жыл бұрын
You very welcome I'm happy this video has helped you
@FurryAnimator Жыл бұрын
i like your profile picture
@adriatical901610 ай бұрын
yeah, it's just so intimidating
@poggingpoggerson73422 жыл бұрын
I found this video really relaxed compared to alot of the other tutorials I found on roblox studio. It was nice to have a tutorial that slowed down and made sure you were keeping up.
@orbitaloutcast9878 Жыл бұрын
Whats up guys lets- WEDFFGHJJUYYTGHHJKL- thank you for watching my yt liek an sobscribe
@doomsday54158 ай бұрын
Dude this actually helped a lot, I've been searching for a couple of years now for something that works and I've gone through trial and error until I got here, that's for the help!
@xato86732 жыл бұрын
i dont speak english, but i love how u explain all lines of the code, because i am learning lua. tnx you for the video. (I made this commentary without traslator hehe)
@FlamingBeetle12 ай бұрын
This helped a lot because my old cars keep moving left and right
@NoxiusVI Жыл бұрын
While yes, the video is quite lengthy it is 100% worth it as the car is just 🤌🤌🤌 Great tutorial man! You're helping beginner, intermediate and maybe even some pro devs with your tutorial!
@ANiceChannelInThisWorld2 жыл бұрын
You don't need to go in Collision Group Editor, you can go to "Model" button (at upper interface) and click at left side of a button with name "Effects" and select "NoCollisionConstraint". Select the car body and the wheel, so now this collision problem is solved!
@5uphi2 жыл бұрын
That is also a good option :)
@ANiceChannelInThisWorld2 жыл бұрын
:D
@GamingMasterMind3000 Жыл бұрын
I've done so many vehicle tutorials and this was the only one that worked, thanks so much!
@mellow95237 Жыл бұрын
so underrated, one of the best tutorials i have seen, i understand more from your tutorials, great job 😀
@akterzaman7766 Жыл бұрын
Fun fact: If you are able to make a switch to control which wheels to turn, instead not of making the front wheels turn, you can make the back wheels turn instead and the result = drifting
@소정-s6u2 жыл бұрын
I have slight error... [WolrdCFrame is not a valid member of Attachment "Workspace.LBCAR.LB.VehicleSeat.Attachment" ] So escaping the car doesn't go where I want to go How do I fix it?
@소정-s6u2 жыл бұрын
It says WolrdCFrame is not a valid member of Attachment Line 21 - [ character.PrimaryPart.CFrame = attachment.WolrdCFrame ]
@5uphi2 жыл бұрын
Change wolrd to world
@antonin_nab0r Жыл бұрын
criminally underrated tutorial, very well explained, thank you so much
@BuilderDemo72 жыл бұрын
Very helpful car with suspension! Thanks to you for this creation in roblox. Good job!!
@Nelson0_ Жыл бұрын
I wish these beautiful videos were in Spanish.... I love you
@thiagoschiavello21742 жыл бұрын
I leave you the scripts, it did not work for me, the car does not move forward and does not turn the front wheels, I think you forgot to show a step, if you could help me to solve it I would appreciate it: ServerScriptService: game.Players.PlayerAdded:Connect(function(player) player.CharacterAdded:Connect(function(character) character.Humanoid.Seated:Connect(function(active, seatPart) if seatPart == nil then return end if seatPart.Name ~= "VehicleSeat" then return end seatPart:SetNetworkOwner(player) print("Owner:", player.Name) end) end) end) StarterCharacterScripts: local character = script.Parent local connection = nil character.Humanoid.Seated:Connect(function(active, seatPart) if seatPart ~= nil then connection:Disconnect() connection = nil end if seatPart == nil then return end if seatPart.Name ~= "VehicleSeat" then return end local attachmentFL = seatPart.Parent.PrimaryPart.AttachmentFL local attachmentFR = seatPart.Parent.PrimaryPart.AttachmentFR local cylindricalBL = seatPart.Parent.WheelBL.CylindricalConstraint local cylindricalBR = seatPart.Parent.WheelBR.CylindricalConstraint local maxAngularVelocity = seatPart.MaxSpeed / (seatPart.Parent.WheelBR.Size.Y / 2) seatPart.Changed:Connect(function(property) if property == "SteerFloat" then local orientation = Vector3.new(0, seatPart.SteerFloat * seatPart.TurnSpeed, 90) attachmentFL.Orientation = orientation attachmentFR.Orientation = orientation elseif property == "ThrottleFloat" then local torque = math.abs(seatPart.ThrottleFloat) * seatPart.Torque if torque == 0 then torque = 2000 end cylindricalBL.MotorMaxTorque = torque cylindricalBR.MotorMaxTorque = torque local angularVelocity = math.sign(seatPart.ThrottleFloat) * maxAngularVelocity cylindricalBL.AngularVelocity = angularVelocity cylindricalBR.AngularVelocity = angularVelocity end end) end)
@5uphi2 жыл бұрын
If you message me in discord ill try my best to help you
@themagentabutterfly5325 Жыл бұрын
This is the best car tutorial on this planet! 1000/10
@thespawncactus01182 жыл бұрын
This guy is so helpful, he definitely deserves a subscribe.
@turbogamingplayz101125 күн бұрын
Hey Suphi, I am new to making Roblox systems and I really appreciate what you are doing with your videos and my question to you would be, How do I learn to make my own systems like you do and I would really appreciate if you can just give me an idea on how I can learn to make custom systems like these. I have lots of ideas but I don't know how to implement them into Roblox itself.
@5uphi25 күн бұрын
Step 1 think of what you want to make Step 2 start making it Step 3 never give up
@artur_peopleplayground508414 күн бұрын
how to make the headlights glow by pressing a button on the screen and how to make a second car model
@owo-ey1gx2 жыл бұрын
if your car is having seizures than make sure any parts welding to it that is not the primary part is massless
@minecraftcaleb53372 жыл бұрын
Thank you for providing the video. My only questions are if I can create it as a chassis and how would I be able to rig that said chassis to my vehicle? I also built my own set of cars making it where it has an interior, so what would need to be changed to accommodate my car? Again, thank you for making this!
@5uphi2 жыл бұрын
It's possible to attach the wheels to anything you like and you can weld as many parts to the car as you like you can also set parts to massless if you don't want them to be to heavy or you can adjust the density just make sure the script is linking to the correct constraints and attachments and the script will work with any car
@minecraftcaleb53372 жыл бұрын
@@5uphi Alrighty, thanks a bunch!
@nooka2408 Жыл бұрын
thanks for the tutorial but could you please do a tutorial where you can show how to drift with the car and also add a passanger that needs to press E to enter ? and also how to lock and unlock the car
@NickSneaky Жыл бұрын
i learnt more from this video than the devforum and google together
@Idontexistyet Жыл бұрын
Best tutorial for a roblox car out there!
@AuralAtlas2 жыл бұрын
mine moves backwards when angular velocity is positive and forwards when it is negative and i have no idea how to change it
@5uphi2 жыл бұрын
One option is to just ignore it and change the script to set negative numbers or to go back and watch the start and follow what I do when I create the wheels
@GladiatorGamez Жыл бұрын
Followed this exactly, hoping to learn more about constraints and more specifically suspension as I struggle with it a lot. Unfortunately when finishing my chassis it failed to turn at all despite following the directions precisely how they were written.
@5uphi Жыл бұрын
You must of missed something
@tom_thefirst2063 Жыл бұрын
Thanks bro, quality content
@killrt99wwefearless37 Жыл бұрын
can you create a tutorial that shows us how to add GUI's and scripting them to the chassis?
@MtbFL11 ай бұрын
the cylidnricle constraint doesnt let the wheel above the car body no matter what it will not go up but it goes down, i did everything you did in the video and it wont work :( and help?
@Devbreezy2 жыл бұрын
you made me improve so much
@5uphi2 жыл бұрын
This comment makes me happy
@AstroCPF10 ай бұрын
hey just asking what properties did you set the car to at the start and end for the driving montage?
@5uphi10 ай бұрын
I show everything in the video
@AstroCPF10 ай бұрын
no, you changed the maxspeed to 50 and some other properties@@5uphi
@BuddhistBears Жыл бұрын
Great content bro thanks 👍
@lanquandude3 ай бұрын
How can I make a custom speed gauge GUI?
@robloxiacardriving28682 жыл бұрын
It’s the nugget from dankpods mate
@Joker-fe2qh Жыл бұрын
Mine is not even moving, I keep checking if I have all the constraints and code correct and yet it still won't move. When I anchor the body, move the body up from the ground and have the cylinders angular velocity on xyz is when I see the wheels spinning. But when it's on ground, they don't even spin. I didn't use a mesh, I just made a simple chasis made from a part with a size of 10,1,15 and each wheel has a size of 1,4,4
@5uphi Жыл бұрын
Did you setup the collision groups correctly
@Joker-fe2qh Жыл бұрын
@@5uphi Yeah, I made sure the wheels couldn't collide with the chasis at all. Could it be the weight causing this?
@jazzyoof3076 Жыл бұрын
Great tutorial but for some reason at 13:05 when I try to hit the wheel it doesn't move at all and only rotates the wrong direction.
@5uphi Жыл бұрын
Maybe you never rotated the attachment or maybe you did not follow all the properties for the cylindrical constraint
@Productions7777 Жыл бұрын
Hello 5uphi thank you for this very good tutorial. I would like to know if a physics car would cause more lag than a raycasting car for the server ? Because my main challenge is to keep an optimised game because my game is already very big lot of part count and server of 30 player
@5uphi Жыл бұрын
Depends on how you optimized the raycasting car but out of the box Roblox physics would be more optimised I have a video called cframe Vs physics that will show you why physics is more optimized
@Productions7777 Жыл бұрын
@@5uphi Hello thank you for your responseand your work. The vehicle has a lot of difficulty climbing hills/roads, do you know if there is anything I could use for the speed would be less negatively impacted by a sudden speed drop when climbing road ? Oh and i can't really modify the torque of the vehicle since i use formula to calculate the torque for realism as well as too much torque tend to flip the car
@5uphi Жыл бұрын
Maybe wider wheels maybe more friction on the wheels?
@Productions7777 Жыл бұрын
@@5uphi Hi I found a great way to have a vehicle that can do stunts and climb slopes very easily and it's very simple, inside the local script tha i've put a RunService loop with a loop_time of 0.2 that launch when player is on the car and stop when go out. Set a Torque of 100 000 and : local a = math.round(seatPart.Velocity.Magnitude) local b = seatPart.MaxSpeed if a==b and a=30 then seatPart.MaxSpeed = a+4 elseif a
@t1m1yepp8 ай бұрын
you are a gift to humanity
@superstorm4228 Жыл бұрын
Would it be the better or for the worse to reset the network ownership of the car back to the game after the player exits the car?
@5uphi Жыл бұрын
I'm not 100% sure but it might automatically reset print to see if it's set to auto after someone gets off
@tonijalonen62992 жыл бұрын
My car shakes horribly while driving, even on a perfectly flat surface. Is there any way to make it go smoother? It's also quite bouncy. Anyway, this tutorial is absolute gold! I've always avoided working on anything that involves vehicles, but I think that's going to change now. 👍
@5uphi2 жыл бұрын
In the discord channel you can download the project and test to see how my version works
@unclipped0 Жыл бұрын
Maybe the attatchments on the wheels are not perfectly centered, i had a shaking problem too, i fixed it by centering the attachments in wheels
@CavaleiroDev Жыл бұрын
I also had this problem, to fix it you have to make the wheels a cylinder instead of a mesh
@carpenterguy705211 ай бұрын
Hi, can you help me with making the torque rise up gradually to max please?
@MGAMERT5 Жыл бұрын
Great vidoe but if the main part is more than one how do you deal with that bc im having trouble pls help me
@5uphi Жыл бұрын
Simply weld them together like we did with the seat you can set them to massless if you like as well
@DarthSpeedy2 жыл бұрын
Is there a reason why the network owner is set in serverscript service rather than just including it in the Sit script?
@5uphi2 жыл бұрын
There is no reason you cant merge the 2 scripts if you wish Normally I would not have a script inside the car but only inside ServerScriptService I don't like the idea of have 100s of scripts for all cars but just 1 script that handles all cars but not sure why on the day of making the video I decided to do it that way
@rashy152 жыл бұрын
I never knew how to do this, thanks so muchh 😩
@5uphi2 жыл бұрын
No problem 😊
@BeatRunner69 Жыл бұрын
i fucking hate making cars, you made me love making cars
@Vestarri Жыл бұрын
the texture is gone on the red car mesh
@nikolajluth Жыл бұрын
my car has a hardtime going uphill and it gets way too fast downhill. How would I do so my cars speed doesnt change much whether its uphill or downhill, but without increasing the torque so it just accelerates to top speed too fast?
@5uphi Жыл бұрын
Roblox's default gravity settings are very high so if you reduce gravity it will be more like driving on earth
@nikolajluth Жыл бұрын
@@5uphi but if I change the gravity, wouldnt that also affect me when I jump and stuff?
@5uphi Жыл бұрын
you can change the jump height or jump power look inside game settings there is a realistic button in there
@Basiil024 Жыл бұрын
I have a problem? Everything works and no error and i did print it work and when i see the property's it work but it cant move idk why its all unanchored to
@5uphi Жыл бұрын
If you post your project in discord I'll take a look
@Basiil0244 ай бұрын
@@5uphi ok
@DaddyNaven4202 жыл бұрын
for the proximity prompt, whenever I would entered the car then jumped out of the car, the proximity prompt would disappear any solution?
@5uphi2 жыл бұрын
make sure its enabled again when you exit
@DaddyNaven4202 жыл бұрын
I made sure it enables but it still doesnt work
@5uphi2 жыл бұрын
if you message me in discord ill try to help you
@Pheonix-100 Жыл бұрын
Could anyone drop the download for the model? Would be appreciated
@5uphi Жыл бұрын
You can find it in the discord channel in the description of the video
@Infraction7 Жыл бұрын
I wasted 1 hour and 13 minutes on this🎉 thanks!
@5uphi Жыл бұрын
I wasted 3 days making this video 🎉
@kookju0927 ай бұрын
The Polish maluch
@the_whitest_guy Жыл бұрын
55:00 (paused)
@LoonathepaddedOfficial2 жыл бұрын
is there a model for the chassis.
@5uphi2 жыл бұрын
you can download the project in this video in my discord channel
@V1perVenom2 жыл бұрын
the cylindrical restraint is sticking out too far what do i do?
@5uphi2 жыл бұрын
You can change the limits or move the attachments
@h4zu15 Жыл бұрын
can you make a simplified version please i dont wanna script for an hour and im not that good at scripting yet
@5uphi Жыл бұрын
Check out the discord channel in the description
@kaanuki32032 жыл бұрын
Do other players see the wheels move and turn since it is in a local script?
@5uphi2 жыл бұрын
Yes
@kaanuki32032 жыл бұрын
@@5uphi Because it is a 'Character' script (StarterCharacterScript), correct?
@5uphi2 жыл бұрын
Yup everything in the video is correct
@cooldeathman82789 ай бұрын
This way of scripting a car is not needed as there is a way better way to do it instead of doing all of that work
@UBFR Жыл бұрын
I loved this car so much
@cutman39312 жыл бұрын
i may or may not have a small problem and it says Workspace.[RobloxUsername].LocalScript:20: attempt to index nil with 'WorldCFrame'
@5uphi2 жыл бұрын
Your trying to set nil with WorldCFrame on line 20 if you message me on discord I can try to help you
@Vincentkassabian Жыл бұрын
I only get one check mark on my wheel table in Collisions groups editor can pls help
@Pinguinho911Ай бұрын
I had the same problem before, You need to change them with the "listo view"
@mythored8054 Жыл бұрын
Unable to find a Car Body Mesh in toolbox! Thers none
@5uphi Жыл бұрын
The toolbox is not that good most the time if you need something you have to make it your self or buy them online there are free models out there as well sometimes you can find something nice for free
@mythored8054 Жыл бұрын
@@5uphi ye understand but just told like when you searched something you got it but when i did thers none! i m just using these free models just for practicing my skills
@crackedcrackeroncracktheii4209 Жыл бұрын
My car has trouble going up ramps can anyone tell me why this may be?
@5uphi Жыл бұрын
Roblox's default gravity settings are very high so if you reduce gravity it will be more like driving on earth
@crackedcrackeroncracktheii4209 Жыл бұрын
@@5uphi I did change the gravity and it did help but I still have problems with getting over steep roads do you think scripting it so when the car is going up a hill the car would receive some kind of force to help it get over a hill
@5uphi Жыл бұрын
sure you can do a kind of gear system where if the car is going up hill you go down into a lower gear that has more torque
@crackedcrackeroncracktheii4209 Жыл бұрын
@@5uphi how would I go about doing something like this? would it be some if statement to check if the Y axis of the car has changed or is that a poor way to do it?
@FloatingCatGames5 ай бұрын
my car really wobbly
@5uphi4 ай бұрын
Make sure your not using meshes for wheels and make sure collision groups are setup correctly
@progamerrbx12382 жыл бұрын
Please make car with suspension model Because i not want long script. Thanks
You must have made a mistake somewhere go back and recheck your code
@SleepySulky Жыл бұрын
@@5uphi ty now i can exit
@Wurfeln Жыл бұрын
I lov u
@PhoeYT2 жыл бұрын
Thanks, this video is really in-depth. Although I don’t need suspension, I did use your old tutorial a while ago for one of my games and it helped a ton!
@5uphi2 жыл бұрын
:)
@pieTone2 жыл бұрын
Now that I watched the video, I remember I always had problems with car suspensions. Thanks man, you explained it very well
@5uphi2 жыл бұрын
No problem
@MrChromaticRBLX10 сағат бұрын
Im 2 years late, but why when I try to change the angular velocity of a cylindrical constraint, almost no matter how high or low the value is, it always never moves! I already set the network ownership of the ENTIRE vehicle to the player, and its not moving at all!
@luchianocool1529 Жыл бұрын
This video is amazing so far, I feel this platform needs more long form videos explaining in detail how to perform complicated tasks such as this, thank you for the amazing tutorial!
@Gamingandhistoryamdmore2 ай бұрын
Is this possible with a car with multiple parts like a blocky car? for car crash videos?😁😁
@5uphi2 ай бұрын
Yes do the same as I did with the seat
@asimpleorbasicRobloxdevfrom233 ай бұрын
why when i duplicate the car, it gets really slow and cant even move? but the tutorial soo nice this is a treasure in scripting tutorials. or a treasure in internet!
@5uphi3 ай бұрын
I don't have this problem
@OSFlames14 күн бұрын
Thank you! I will try soon to make my suspension for my cars!
@Dani-nb9ip2 жыл бұрын
If I have a model of a car that has 2 parts, the exterior and the interior, I need put the attachments on the exterior and I must use a weld constraint to weld the second part with the first part, right?
@5uphi2 жыл бұрын
Yes you will weld the exterior to the interior the wheels can weld to anything you like the exterior or the interior if the car gets to heavy you can set massless to true or edit the density
@Dani-nb9ip2 жыл бұрын
@@5uphi tnx you.
@Smurfis Жыл бұрын
I’ve always hated ROBLOX’s Default UI especially driving. I really like this.. but would love to incorporate, door opening, interior such as a dial that shows the speed. Great work! Definition of inspirational.
@Vortex-qb2se Жыл бұрын
Thank you, there aren't many good tutorials on vechicles and while skill moves are something I figured out myself, trying to make flying vechicles and even ground ones seems too complicated for me
@GamingMasterMind3000 Жыл бұрын
is there a way to make the car right itself when it falls down if its been lying there for like 3 seconds?
@5uphi Жыл бұрын
You can set its cframe or you can use alignorientation
@GamingMasterMind3000 Жыл бұрын
@@5uphi can you give an example, I am very new to coding. would it work like repeat 1,30,1 do if seatPart.Orientation.Z = 0 then return end wait(0.1) end seatPart,Orientation.Z = 0
@5uphi Жыл бұрын
local cframe = car:GetPivot() car:PivotTo(CFrame.LookAt(cframe.Position, cframe.Position + cframe.LookVector))
@GamingMasterMind3000 Жыл бұрын
@@5uphiIt goes in the local script right? I can't find where to put it in order to make the car still drivable. (If I just put it in the local script the whole local script breaks.)
@5uphi Жыл бұрын
The network owner or the server can set the cars position
@DynastySheep Жыл бұрын
Very good tutorial, only thing I'd change is how you detect the correct exit attachment to take obstructions into consideration (such as walls or other objects you park near to) instead of basing it on the height difference.
@tyrannosrhys9272 жыл бұрын
i always had problems with getting simple suspension, it turns out inclination angle was the answer to all my problems. i was always cautious about touching it because i didnt know what it did. it all seems so clear now!
@kkayyidkd7 ай бұрын
GUYS THIS TUTORIAL ITS WORTH IT! IT REALLY WORKS IF U DO ALMOST ALL THE INSTRUCTIONS ON THE VID!! new subb
@-zeeb-5857 ай бұрын
It didnt work tho?
@5uphi7 ай бұрын
Thanks for subbing!
@kkayyidkd6 ай бұрын
@@5uphi Np and tysm for the tutorial
@-zeeb-5857 ай бұрын
Dated Tutorial. Can you make an updated version?
@5uphi7 ай бұрын
There is nothing I would change In the latest version If you're having problems double check your scripts/attachments/constraints and make sure you have not made any mistakes
@-zeeb-5856 ай бұрын
@@5uphi they changed the values in the constrains, they’re named differently and work differently too, at 20:20 the test you do isn’t possible anymore. Maybe I’m doing it wrong but the values of the constrains are not the same
@mudusad42 ай бұрын
so how do I turn it into a 6x6?
@5uphi2 ай бұрын
Just add more wheels and adjust the script to rotate all constraints
@mudusad42 ай бұрын
@@5uphi I’ll try it out ig if not then idk
@Carxrc2 ай бұрын
why does my car go backward when i press w?
@5uphi2 ай бұрын
The constraints or attachments must be setup incorrectly
@Carxrc2 ай бұрын
@@5uphi when the fr wheel orentation is -0,0,90 the fr wheel can turn but the car cant move but when the orentation of the fr wheel is 0,180,90 the car can move but when i turn the wheel the car stops moving.
@simplescripting7909 Жыл бұрын
Quick issue- at 7:32 when Im editing the collision groups, after I make the two groups (car and wheel) on the wheel section, theres no option for me to tick where the interception is for car and wheel, and instead I am presented with just a -- , any help?
@5uphi Жыл бұрын
do it the other way around so if you cant untick the wheel from the car untick the car from the wheel
@simplescripting7909 Жыл бұрын
@@5uphi Thanks for that! Really saved me a a bunch of time, and I had not even started the scripting yet
@ibloxxd Жыл бұрын
can you pass me the game? I want to test the vehicle
@5uphi Жыл бұрын
It's in my discord server you can find the link in the description
@itsmeyaboyjibran2 ай бұрын
bro i cant find the mesh model can u reply with link?
@Newbinator Жыл бұрын
I did realise this was an hour ;-;
@GamingMasterMind3000 Жыл бұрын
its worth it
@njez7563 Жыл бұрын
Hour isn't really that long when we're talking about creating something
@GamingMasterMind3000 Жыл бұрын
@@njez7563Yeah, especially with a car
@ThatOneEclipeGuy Жыл бұрын
can someone tell me the mesh id or a link to the car?
@Colt_RazorVolt3 ай бұрын
will this work for cars that are made of several parts not just 1 mesh for the body and same for wheels (i dont want to watch an hour long video to find out it wont work so im going to ask first)
@5uphi3 ай бұрын
Weld the parts together the same way I weld the seat in the video For the wheels make the mesh massless, cancollide false and weld it onto the cylinders you can make the cylinders transparent to hide them
@suryakamalnd98882 жыл бұрын
Nice video bro!! This should fix my game issue.
@PoppinCorn2 жыл бұрын
you should create a similar tutorial to this, except it's a flyable spaceship instead of a car
@5uphi2 жыл бұрын
Good idea I'll put that on my list of videos todo
@IcikiwirJava Жыл бұрын
I set the car maxspeed to like 130 is there any way to make the car not spinning/drifting by itself when turning left or right?
@kuto9978 Жыл бұрын
increase friction i'd assume
@abdistic10473 ай бұрын
the vechicle seat properties like throttlefloat are changing in values, but the car isn't moving and the print statements are printing... and the changed event isn't working when I try to debug it with "yo" connection = seatpart.Changed:Connect(function(property) print("yo") if property == "SteerFloat" then print("yo") print(seatpart.SteerFloat) elseif property == "ThrottleFloat" then local torque = math.abs(seatpart.ThrottleFloat) * seatpart.Torque if torque == 0 then torque = 2000 end cBL.MotorMaxTorque = torque cBR.MotorMaxTorque = torque local av = math.sign(seatpart.ThrottleFloat) * 10000 cBL.AngularVelocity = av cBR.AngularVelocity = av print(seatpart.ThrottleFloat) end end) end)
@astronaut_692 жыл бұрын
The only problem is that I can't get back my car. Once it has flipped over, goodbye fun time. You know ? It'd been great if you told us how to get it back cuz it's kinda annoying to gett off the game and then get back on just to get it back. But other than that, really good material. I spent a whole day following every single step cuz I not very good at typing on pc keyboards. I'm mostly a phone person if you know what I'm saying lol
@5uphi2 жыл бұрын
Id be happy to help you make the car flip over if you message me in discord but all you do is set the cars cframe something like this car:PrivotTo(CFrame.new(car:GetPivot().Position))
@astronaut_692 жыл бұрын
Does it matter where I put the code or no ? Can I put it anywhere in the script ?
@5uphi2 жыл бұрын
You will put it in a localscript for the driver to set the cars cframe