Please Help Me with the Vehicle/Car Controller and Wheel Colliders in Unity 5!

Hi everyone,

I am currently very frustrated with creating a usable, controllable vehicle in Unity 5. I have imported a blender model for a golf cart, made sure that the wheel colliders were facing the same direction as the car, and tried using the Car Controller script. Every single time, the car flips over and I cannot control anything. It might be because my model is not completely level in Blender but since the model has many different components, it’s very tedious (but if necessary, then I’ll do it) to go in and save every single component. I’ve looked at almost every single tutorial but none of them cover the changes to vehicles in Unity 5 and it’s so frustrating to feel like even if you were given the answer you still couldn’t do it.

I am a complete novice when it comes to Unity; I have been tasked with making this happen as part of a project for my work study and I don’t think I’m qualified haha. I have not slept in the past 48 hours since I’ve been working on this project and I don’t know if I’ll get sleep tonight, so please help me figure this out!

The other goals are to get VR support and potentially VR control of the car, so if there are any tips on that, let me know!

Thank you to anyone who can help me out!


Car flipping is almost always related to center of mass, which can be changed in script.

There’s also a starter script in my sig which automatically sets up all the wheels for a basic, arcade-ish car if required.

Thank you for your response! How would I manage to fix that? Is the just by the RigidBody or through the Box Colliders?

I usually go for something like

rigidbody.centerOfMass = Vector3.down;

Or create an empty game object that is a child of the car, put it where you want the center of mass to be and do
rigidbody.centerOfMass = COMGameObject.localPosition
That way the position of the empty gameObject will be the center of mass. This is what I’m doing with my project.
You can also do things like adding anti roll bars, down force