CenterOfMAss problem. Veers over even if X is at 0?

Hello, my cars in my game have a custom CenterOfMass transform they use to calculate the centerofmass. It is at 0 on the X axis, but the car still veers over even when only the forward button is pressed. I checked the wheelcolliders, they are all on each side equally. I checked the Box colliders. They are fine.

Whole car:

ONLY CenterofMass selected.
709500--25629--$Car2.gif

Any ideas? This has been bothering me for months now. And I still cannot get it to drive correctly. :frowning:

Bump.

Another bump. C’mon guys. I’ve seen threads with 17-25 replies in a day. And none for almost all of my threads in almost 2 days? I just don’t get it.

This could be a caused by allot of things but you haven’t provided enough details about your implementation. Or what is actually happening… does it happen when the car is sitting still or driving, what vehicle system are you using etc…

Driving. I’m using my own car scripts. The car steers left/right when only pressing the up arrow key.

how are you moving it? rotating a wheel? adding a force? is it on a flat surface? Does the mass suck and is the mass really low? are you using unit = 1 meter size for your vehicle? and if so, whats the mass?

I’m moving it with the motorTorque property of the WheelCollider. Yes, it’s on a flat surface. Does the mass suck? The mass is around 5k atm. I have no clue about the sizing of the vehicle. How do I find that out?