- Home /
Question by
el-mas-pro-470 · Jul 22, 2018 at 01:14 AM ·
car physics
my car overturns when turning
Hello! I'm in a car project in which I do them this way: I create 4 game objects on each wheel and I put their wheel collider. later in the car script I assign them the 4 where appropriate. but when trying the game. the car overturns. I tried several "anti roll bar" scripts but the only thing that this script does is to extend the rotation a bit. but then it turns again. Does anyone know how to fix it? Thank you
Comment
Try lowering the rigidBody center of mass. https://docs.unity3d.com/ScriptReference/Rigidbody-centerOf$$anonymous$$ass.html