How do I make a Car Drift/Slide Button System Like in Jailbreak and MadCity

Ok, so I’m creating a game that has cars in it, and I’m using the A-Chassis Model that a lot of people use for cars.

Now I want the car to have a Drift/Slide Button to drift when you hold down the button (Like it does in Jailbreak and Mad City), because the model doesn’t have a drift button or System, it’s just a car Chassis that has normal turns, that’s it.

Failed Solution Attempt 1. I’ve tried a solution where I used a local script and made it so when I pressed LeftShift, It would fire a BindableEvent to the Local script inside the Chassis Called Initialize to make the tire grip less, but that didn’t do much and didn’t cause it to slide drift.

Failed Solution Attempt 2. And the Other Attempt I made was Using the same Local script and firing a RemoteEvent when pressing LeftShift and connecting it to the main Server script and changing the weight variable to 0 and another Variable to something else, but that didn’t work either.

Lastly - in case I wasn’t clear, I mean a Drift/Slide Button where it is normally Gripping to the ground and Drifting when holding the button, not a Drift Car that Drifts all the time.

Also Thanks to anyone that attempts to help me with this because I couldn’t find any info or tutorials on Youtube or Or on the Dev Forum, so it would also be helping many others too! :grin:

What I did to simulate drifting was completely stopping the back wheels of my car. This caused it to skid around. Hope that helps.

3 Likes

Sense you’re using A-Chassis. I’d say the most optimal way to make the chassis drift via a drift button, then just change the wheel friction. Maybe to like 0.45 or something.

Jailbreak does their drifting a lot more differently. Theirs is fake, sliding block hovering over the ground, using AngularVelocity to steer and when holding SHIFT it actually just increases the angular velocity. for steering, making the car seem like it can drift.

4 Likes