Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Wheel Collider Issue...

Discussion in 'Physics' started by DaVeF101, Jun 6, 2016.

  1. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Can anyone help out with a solution to this weird behaviour with Wheel Colliders?

    Gravity is set as normal. Using 5.3.4f1

     
  2. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    make sure you put a box collider on your car body.
     
  3. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Thank you James. Adding a box collider fixed this. :)
     
    JamesLeeNZ likes this.
  4. JamesLeeNZ

    JamesLeeNZ

    Joined:
    Nov 15, 2011
    Posts:
    5,616
    np. caught me out a couple of times :)

    (one time it nearly drove me insane because my car script was working perfectly, put it on a new car and it went mental)

    There's a good automatigical wheel collider script in my sig as well if you need... inspiration
     
  5. DaVeF101

    DaVeF101

    Joined:
    Sep 7, 2014
    Posts:
    134
    Thanks James, I'll take a look at that.