Any time Im bored I just kinda open the template cause by golly is it fun! And yalls didnt remove the classic which is really nice! Thank you for this!
there is a problem with the car, it only works with streamingenabled
The remake it deserved.
Love it!
Good catch! I’ve updated it to use an Atomic model so this shouldn’t be an issue now
Currently it relies on the Atomic streaming mode which ensures all instances are replicated at the same time. If you’re not using streaming, you’ll need to add WaitForChild()
s to all of the client scripts to ensure that they wait for the instances in the car to replicate.
Unfortunately complex physics assemblies like this are difficult to edit, here are a couple tips for adjusting the size of the chassis:
The main issues will occur because attachments in the chassis don’t stay lined up when you resize or move parts of the car.
Just the chassis, no modifications
Resizing the Chassis causes the steering rack and anti roll bars to become un-aligned, since they are attached to it
These attachments need to be re-aligned with their counterparts to keep the constraint from breaking
If you’d like to change the position of the rear wheels, you can select both wheels, the anti roll bar, and the attachment in the chassis to move them together
In order to do the same on the front, you’ll also need to select the steering rack part and steering rack attachment in the chassis
If you’d like to change the width of the wheels, update the FreeLength of the corresponding anti roll bar spring to match its CurrentLength
For the front wheels, you’ll also need to update the length of the steering rod
Thank you so much for all of this information!, This will help a lot of players. In my case in trying to scale down the model. It would become unstable even with the attachments and constraints being correct and or aligned. The issue turned out to be the mass of the AntiRollBars. By increasing their density so that the mass of the AntiRollBars measured around 2.248 the vehicle became stable and worked perfectly!
Ooo apologies but another question, Is it possible to add multiple seats?
You can definitely implement multiple seats, the relevant server code you’ll want to look at is in Car.Scripts.Server.Occupant
, which forces a player to sit in the driver seat when they interact with the drive proximity prompt. You can extend this to add prompts for passenger seats.
The client code is in Car.Scripts.Client.ClientController
and Car.Scripts.Client.Input.exitHandlerAsync
. It disables jumping so the player has to manually exit with a button, but you could probably skip all the client code and have them exit normally.
Just resizing the spheres normally works and won’t move constraints around.
These cars are fun to use on an infinite desert too!
Also, an annoying bug I have noticed is that the camera jitters whenever there is a lag spike. When driving around my desert, every time the chunks generate and the frames drop by a bit, the camera jiggles. You can see it around 10 seconds into my video.
Honestly, This is one of the best templates I’ve seen to date. All I think it needs is a little fixing on the camera switching, as I think there should be 3rd and 1st person along with a type of cinematic view.
Are more prefabs for track going to release, things like jumps, crossings, pieces to transition to offroad, bridges, etc?
This is a nice easy solution, but if you’re wanting something a little more accurate I tackled a similar issue recently where really curved tracks might cause some players to appear Infront of others when they aren’t because of a tight bend or something.
The solution I came up with is to generate a curve that goes through all the nodes (checkpoints) of the track; I found a catmull rom spline worked well for me. Then when getting distance to checkpoint, use the closest point on that curve from the player which you can use to get players positions on the curve for a more accurate position that takes the layout of the track into account.
I’ll leave this here for whoever needs it explaining, if you’d like a more detailed account feel free to hmu.
Blender - and thanks for this callout - I’ll apply a fix for the next time we patch!
Try checking out this curriculum - there are some helpful tips and tricks in there.
I use Substance Designer to create all of my game textures. Substance is an Adobe product and has a licensing cost, but there are free alternatives like Material Maker
roblox’s own moderation took against their own game
I reported it as a bug after this and it affected the name of the game on Roblox Studio
I hope it can come back