Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Vehicle/Wheels physic problem

Discussion in 'Physics' started by mehdimoji, Mar 14, 2018.

  1. mehdimoji

    mehdimoji

    Joined:
    Oct 18, 2017
    Posts:
    22
    Hi.I have a car and when i turn for a several times, the car rise on one side. i change the Spring setting and box Collider but It did not affect! When car rise, don't go back to normal mode so on of the wheel has a torque and car turns around !This problem is just for turn left!
    I think this problem is not for :
    Code (CSharp):
    1. rigidCar.centerOfMass = new Vector3(0, -0.4f, 0);
    is it?
     
    Last edited: Mar 14, 2018
  2. StickyHoneybuns

    StickyHoneybuns

    Joined:
    Jan 16, 2018
    Posts:
    207
  3. mehdimoji

    mehdimoji

    Joined:
    Oct 18, 2017
    Posts:
    22
    Thank you Sticky.I found the problem, Sideway Friction was the problem.
     
    StickyHoneybuns likes this.