How to make it more difficult for a vehicle to flip

I’m wondering how to make a vehicle less easily flippable. For example, zooming real fast into a 0.1 stud-high part will immediately flip the car like crazy.

I’m not particularly familiar with all of the physics objects in Roblox, and I don’t want to force the car upright at all times–if it’s possible, I’m trying to find out how to apply a force that just makes it harder to flip a car–kind of like BodyPosition, but possibly for orientation, and only on specific coordinates? I’m not sure really.

Would I do this with CFrame or other part properties?

Thanks in advance for any help provided.

2 Likes

BodyGyro is what you might want to use.

Right now, your car seems like it’s completely rigid; any blow of any size will send the car body into the sky

You should consider adding suspention to your car axles, which will gracefully dampen the blow from any bumps.

Building a Basic Car

2 Likes

Ok, heres a trick quite a few unreal engine games use:
Place a invisible anchored part(or welded) on top of the car with crazyyyy mass. It well weigh the car down anytime someone wants to flip it.

3 Likes

Yes, I have done this before, but the drawback is the car cannot stay airborne for even a short amount of time. So it cannot jump ramps. I don’t know if that will be a problem or not :stuck_out_tongue:

1 Like

There is downsides but it is so far the best idea ive come across

1 Like

The vehicle framework I use already has suspension (albiet not too amazing). Small bumps are handled fine at lower speeds, but are not handled pretty much at all at higher speeds.

I was able to make the car less easy to flip using BodyGyro, but it has some unwanted side effects (unless I didn’t properly use BodyGyro).

Putting a ton of weight on the car using a part or BodyForce seems to cause its’ fair bit of problems as well, especially since I don’t really want cars to plummet into the ground at high speeds the instant it goes airborne.

Some of these solutions seem great though, they just don’t apply for the vehicle framework I’m using. Maybe I’ll have to make my own to improve its’ stability.

1 Like

Well, yes. Monster truck suspension will greatly outperform suspension from, say, a sedan. There’s a balance you must find for your particular situation, which involves tweaking the amount of travel, dampening, and spring constant (springy-ness) for your springs.

If your wheels are constantly bottoming out, increase the height or dampening

  • A direct opposite to this, lower your suspension to lower your center of mass

If they aren’t bottoming out, but still seem stiff, decrease dampening
If they spring too much, increase the spring constant

Otherwise, you should consider adding more weight to your vehicles by tweaking the density, or just make your cars a little wider so the mass is spread out.