The faster my rigidbody moves, the faster and more out of control it gets. I am trying to work on a simple “cart” and when you drive forward, the rigidbody starts moving slightly to the left and right. How do i prevent this?
Try messing with a Center Of Mass So it rides nice and smooth.
What do you mean?
Are you using the Car.js script from the car tutorial?? If so find the variable in the inspector that says
Center Of Mass o Nothing (Transform)
Make an empty game object called Center Of Mass and place it in the EXACT Center Of the car. Then drag your newly made game object into the Center Of Mass Variable in the inspector Window.
If you dont have the Car.js Script do the follo0wing:
)))If your lazy dont do this cuz it may take a while(((
Ok, search through the car.Js script and find the Center Of Mass part of the script
add that to yours. And You should see what I told you above in the inspector panel.
I am not using the car script.
I made a center of mass in the center, and the cart spazzes out when I use rigidbody.addforce.
Okay, I have the center of mass set up and it is getting set as the center of mass, but it makes no difference.