Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Wheel collider friction. What are the optimum settings?

Discussion in 'Physics' started by EthanKessler_Dev, Dec 24, 2021.

  1. EthanKessler_Dev

    EthanKessler_Dev

    Joined:
    Jul 25, 2020
    Posts:
    3
    Unity's Wheel Colliders
    Help1.PNG
    Above are the settings for back left tire for a rudimentary F1 vehicle that I'm using in a simulation. The physics doesn't have to be perfect and a lot of quick napkin-math has gone into coming up with values for the acceleration of the vehicle and the motorTorque. From the image below it's evident that there is a lot of tire slipping and I'm trying to avoid this the best I can: As realism isn't the priority but speed and efficiency is. Help2.PNG
    The car has its own gravity and additional downforce calculated and applied via the rigidbody (which I hoped would help the grip situation). The vehicle has a low centre of gravity, the wheel colliders are outside the main body collider and from what I can tell the only issue is wheel-spin and not having ample grip to move the car as quickly as expected.

    Any and all help would be appreciated. I have had a look at other packages that handle vehicle physics but as simplicity is important here I've been trying to make the in-built system work first.
     
  2. XFS-Dark

    XFS-Dark

    Joined:
    Jan 28, 2022
    Posts:
    1
    You can use default unity wheel collider but just increase the stiffness in the sideway friction to 1.5 is good with the default settings(config)

    you can look at this form Good values for WheelColliders - Unity Forum